Merge pull request #729 from s1061123/dev/update-layout

Change file layout and mention the supported Kubernetes version
This commit is contained in:
Doug Smith 2021-09-29 10:19:02 -04:00 committed by GitHub
commit 51a74efe57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 23 additions and 23 deletions

View File

@ -17,7 +17,7 @@ jobs:
context: . context: .
push: false push: false
tags: ghcr.io/${{ github.repository }}:latest-amd64 tags: ghcr.io/${{ github.repository }}:latest-amd64
file: deployments/Dockerfile file: images/Dockerfile
build-arm64: build-arm64:
name: Image build/arm64 name: Image build/arm64
@ -35,7 +35,7 @@ jobs:
context: . context: .
push: false push: false
tags: ghcr.io/${{ github.repository }}:latest-arm64 tags: ghcr.io/${{ github.repository }}:latest-arm64
file: deployments/Dockerfile.arm64 file: images/Dockerfile.arm64
build-arm32: build-arm32:
name: Image build/arm32 name: Image build/arm32
@ -53,7 +53,7 @@ jobs:
context: . context: .
push: false push: false
tags: ghcr.io/${{ github.repository }}:latest-arm32 tags: ghcr.io/${{ github.repository }}:latest-arm32
file: deployments/Dockerfile.arm32 file: images/Dockerfile.arm32
build-ppc64le: build-ppc64le:
name: Image build/ppc64le name: Image build/ppc64le
@ -71,7 +71,7 @@ jobs:
context: . context: .
push: false push: false
tags: ghcr.io/${{ github.repository }}:latest-ppc64le tags: ghcr.io/${{ github.repository }}:latest-ppc64le
file: deployments/Dockerfile.ppc64le file: images/Dockerfile.ppc64le
build-s390: build-s390:
name: Image build/s390x name: Image build/s390x
@ -89,7 +89,7 @@ jobs:
context: . context: .
push: false push: false
tags: ghcr.io/${{ github.repository }}:latest-s390x tags: ghcr.io/${{ github.repository }}:latest-s390x
file: deployments/Dockerfile.s390x file: images/Dockerfile.s390x
build-origin: build-origin:
name: Image build/origin name: Image build/origin
@ -107,4 +107,4 @@ jobs:
context: . context: .
push: false push: false
tags: ghcr.io/${{ github.repository }}:latest-origin tags: ghcr.io/${{ github.repository }}:latest-origin
file: deployments/Dockerfile.openshift file: images/Dockerfile.openshift

View File

@ -31,7 +31,7 @@ jobs:
tags: | tags: |
ghcr.io/${{ github.repository }}:latest-amd64 ghcr.io/${{ github.repository }}:latest-amd64
ghcr.io/${{ github.repository }}:snapshot-amd64 ghcr.io/${{ github.repository }}:snapshot-amd64
file: deployments/Dockerfile file: images/Dockerfile
push-arm64: push-arm64:
name: Image push/arm64 name: Image push/arm64
@ -60,7 +60,7 @@ jobs:
tags: | tags: |
ghcr.io/${{ github.repository }}:latest-arm64 ghcr.io/${{ github.repository }}:latest-arm64
ghcr.io/${{ github.repository }}:snapshot-arm64 ghcr.io/${{ github.repository }}:snapshot-arm64
file: deployments/Dockerfile.arm64 file: images/Dockerfile.arm64
push-arm32: push-arm32:
name: Image push/arm32 name: Image push/arm32
@ -89,7 +89,7 @@ jobs:
tags: | tags: |
ghcr.io/${{ github.repository }}:latest-arm32 ghcr.io/${{ github.repository }}:latest-arm32
ghcr.io/${{ github.repository }}:snapshot-arm32 ghcr.io/${{ github.repository }}:snapshot-arm32
file: deployments/Dockerfile.arm32 file: images/Dockerfile.arm32
push-ppc64le: push-ppc64le:
name: Image push/ppc64le name: Image push/ppc64le
@ -118,7 +118,7 @@ jobs:
tags: | tags: |
ghcr.io/${{ github.repository }}:latest-ppc64le ghcr.io/${{ github.repository }}:latest-ppc64le
ghcr.io/${{ github.repository }}:snapshot-ppc64le ghcr.io/${{ github.repository }}:snapshot-ppc64le
file: deployments/Dockerfile.ppc64le file: images/Dockerfile.ppc64le
push-s390x: push-s390x:
name: Image push/s390x name: Image push/s390x
@ -147,7 +147,7 @@ jobs:
tags: | tags: |
ghcr.io/${{ github.repository }}:latest-s390x ghcr.io/${{ github.repository }}:latest-s390x
ghcr.io/${{ github.repository }}:snapshot-s390x ghcr.io/${{ github.repository }}:snapshot-s390x
file: deployments/Dockerfile.s390x file: images/Dockerfile.s390x
push-origin: push-origin:
name: Image push/origin name: Image push/origin
@ -176,7 +176,7 @@ jobs:
tags: | tags: |
ghcr.io/${{ github.repository }}:latest-origin ghcr.io/${{ github.repository }}:latest-origin
ghcr.io/${{ github.repository }}:snapshot-origin ghcr.io/${{ github.repository }}:snapshot-origin
file: deployments/Dockerfile.openshift file: images/Dockerfile.openshift
push-manifest: push-manifest:
needs: [push-amd64, push-arm64, push-ppc64le, push-s390x] needs: [push-amd64, push-arm64, push-ppc64le, push-s390x]

View File

@ -38,7 +38,7 @@ jobs:
tags: | tags: |
ghcr.io/${{ github.repository }}:stable-amd64 ghcr.io/${{ github.repository }}:stable-amd64
${{ steps.docker_meta.outputs.tags }}-amd64 ${{ steps.docker_meta.outputs.tags }}-amd64
file: deployments/Dockerfile file: images/Dockerfile
push-arm64: push-arm64:
name: Image push/arm64 name: Image push/arm64
@ -74,7 +74,7 @@ jobs:
tags: | tags: |
ghcr.io/${{ github.repository }}:stable-arm64 ghcr.io/${{ github.repository }}:stable-arm64
${{ steps.docker_meta.outputs.tags }}-arm64 ${{ steps.docker_meta.outputs.tags }}-arm64
file: deployments/Dockerfile.arm64 file: images/Dockerfile.arm64
push-arm32: push-arm32:
name: Image push/arm32 name: Image push/arm32
@ -110,7 +110,7 @@ jobs:
tags: | tags: |
ghcr.io/${{ github.repository }}:stable-arm32 ghcr.io/${{ github.repository }}:stable-arm32
${{ steps.docker_meta.outputs.tags }}-arm32 ${{ steps.docker_meta.outputs.tags }}-arm32
file: deployments/Dockerfile.arm32 file: images/Dockerfile.arm32
push-ppc64le: push-ppc64le:
name: Image push/ppc64le name: Image push/ppc64le
@ -146,7 +146,7 @@ jobs:
tags: | tags: |
ghcr.io/${{ github.repository }}:stable-ppc64le ghcr.io/${{ github.repository }}:stable-ppc64le
${{ steps.docker_meta.outputs.tags }}-ppc64le ${{ steps.docker_meta.outputs.tags }}-ppc64le
file: deployments/Dockerfile.ppc64le file: images/Dockerfile.ppc64le
push-s390x: push-s390x:
name: Image push/s390x name: Image push/s390x
@ -182,7 +182,7 @@ jobs:
tags: | tags: |
ghcr.io/${{ github.repository }}:stable-s390x ghcr.io/${{ github.repository }}:stable-s390x
${{ steps.docker_meta.outputs.tags }}-s390x ${{ steps.docker_meta.outputs.tags }}-s390x
file: deployments/Dockerfile.s390x file: images/Dockerfile.s390x
push-origin: push-origin:
name: Image push/origin name: Image push/origin
@ -218,7 +218,7 @@ jobs:
tags: | tags: |
ghcr.io/${{ github.repository }}:stable-origin ghcr.io/${{ github.repository }}:stable-origin
${{ steps.docker_meta.outputs.tags }}-origin ${{ steps.docker_meta.outputs.tags }}-origin
file: deployments/Dockerfile.openshift file: images/Dockerfile.openshift
push-manifest: push-manifest:
needs: [push-amd64, push-arm64, push-ppc64le, push-s390x] needs: [push-amd64, push-arm64, push-ppc64le, push-s390x]

View File

@ -14,7 +14,7 @@ jobs:
run: docker run -d --restart=always -p "5000:5000" --name "kind-registry" registry:2 run: docker run -d --restart=always -p "5000:5000" --name "kind-registry" registry:2
- name: Build latest-amd64 - name: Build latest-amd64
run: docker build -t localhost:5000/multus:e2e -f deployments/Dockerfile . run: docker build -t localhost:5000/multus:e2e -f images/Dockerfile .
- name: Push to local registry - name: Push to local registry
run: docker push localhost:5000/multus:e2e run: docker push localhost:5000/multus:e2e

View File

@ -27,7 +27,7 @@ The quickstart installation method for Multus requires that you have first insta
Clone this GitHub repository, we'll apply a daemonset which installs Multus using to `kubectl` from this repo. From the root directory of the clone, apply the daemonset YAML file: Clone this GitHub repository, we'll apply a daemonset which installs Multus using to `kubectl` from this repo. From the root directory of the clone, apply the daemonset YAML file:
``` ```
$ cat ./images/multus-daemonset.yml | kubectl apply -f - $ cat ./deployments/multus-daemonset.yml | kubectl apply -f -
``` ```
This will configure your systems to be ready to use Multus CNI, but, to get started with adding additional interfaces to your pods, refer to our complete [quick-start guide](docs/quickstart.md) This will configure your systems to be ready to use Multus CNI, but, to get started with adding additional interfaces to your pods, refer to our complete [quick-start guide](docs/quickstart.md)

View File

@ -21,7 +21,7 @@ You may acquire the Multus binary via compilation (see the [developer guide](dev
As a [quickstart](quickstart.md), you may apply these YAML files (included in the clone of this repository). Run this command (typically you would run this on the master, or wherever you have access to the `kubectl` command to manage your cluster). As a [quickstart](quickstart.md), you may apply these YAML files (included in the clone of this repository). Run this command (typically you would run this on the master, or wherever you have access to the `kubectl` command to manage your cluster).
$ cat ./images/{multus-daemonset.yml,flannel-daemonset.yml} | kubectl apply -f - $ cat ./deployments/multus-daemonset.yml | kubectl apply -f -
If you need more comprehensive detail, continue along with this guide, otherwise, you may wish to either [follow the quickstart guide]() or skip to the ['Create network attachment definition'](#create-network-attachment-definition) section. If you need more comprehensive detail, continue along with this guide, otherwise, you may wish to either [follow the quickstart guide]() or skip to the ['Create network attachment definition'](#create-network-attachment-definition) section.

View File

@ -15,7 +15,7 @@ Two things we'll refer to a number of times through this document are:
Our installation method requires that you first have installed Kubernetes and have configured a default network -- that is, a CNI plugin that's used for your pod-to-pod connectivity. Our installation method requires that you first have installed Kubernetes and have configured a default network -- that is, a CNI plugin that's used for your pod-to-pod connectivity.
We recommend Kubernetes 1.16 or later. We support Kubernetes versions that Kubernetes community supports. Please see [Supported versions](https://kubernetes.io/releases/version-skew-policy/#supported-versions) in Kubernetes document.
To install Kubernetes, you may decide to use [kubeadm](https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/), or potentially [kubespray](https://github.com/kubernetes-sigs/kubespray). To install Kubernetes, you may decide to use [kubeadm](https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/), or potentially [kubespray](https://github.com/kubernetes-sigs/kubespray).
@ -51,7 +51,7 @@ git clone https://github.com/k8snetworkplumbingwg/multus-cni.git && cd multus-cn
We'll apply a YAML file with `kubectl` from this repo. We'll apply a YAML file with `kubectl` from this repo.
``` ```
$ cat ./images/multus-daemonset.yml | kubectl apply -f - $ cat ./deployments/multus-daemonset.yml | kubectl apply -f -
``` ```
### What the Multus daemonset does ### What the Multus daemonset does