Change file layout and mention the supported Kubernetes version

This commit is contained in:
Tomofumi Hayashi 2021-09-28 22:40:51 +09:00
parent efdc0a5c7d
commit bf0b37e010
19 changed files with 23 additions and 23 deletions

View File

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

View File

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

View File

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

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).
$ 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.

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.
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).
@ -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.
```
$ cat ./images/multus-daemonset.yml | kubectl apply -f -
$ cat ./deployments/multus-daemonset.yml | kubectl apply -f -
```
### What the Multus daemonset does