Skip to content

Commit 2a2f83a

Browse files
authored
Merge pull request #63 from adrianchiris/update-ds
Tidy DaemonSet deployment example
2 parents 51deb9f + 637dd64 commit 2a2f83a

File tree

4 files changed

+4
-47
lines changed

4 files changed

+4
-47
lines changed

images/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A `build_docker.sh` script is available for building the Accelerated Bridge CNI
1717
You may wish to deploy Accelerated Bridge CNI as a daemonset, you can do so by starting with the example Daemonset shown here:
1818

1919
```
20-
$ kubectl create -f ./images/k8s-v1.16/accelerated-bridge-cni-daemonset.yaml
20+
$ kubectl create -f ./images/accelerated-bridge-cni-daemonset.yaml
2121
```
2222

2323
Note: The likely best practice here is to build your own image given the Dockerfile, and then push it to your preferred registry, and change the `image` fields in the Daemonset YAML to reference that image.

images/k8s-v1.16/accelerated-bridge-cni-daemonset.yaml renamed to images/accelerated-bridge-cni-daemonset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ spec:
2020
spec:
2121
hostNetwork: true
2222
nodeSelector:
23-
beta.kubernetes.io/arch: amd64
23+
kubernetes.io/arch: amd64
2424
tolerations:
2525
- key: node-role.kubernetes.io/master
2626
operator: Exists
2727
effect: NoSchedule
2828
containers:
2929
- name: kube-accelerated-bridge-cni
30-
image: ghcr.io/k8snetworkplumbingwg/accelerated-bridge-cni:0.4.0
30+
image: ghcr.io/k8snetworkplumbingwg/accelerated-bridge-cni
3131
imagePullPolicy: IfNotPresent
3232
securityContext:
3333
privileged: true

images/build_docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
set -e
33

44
## Build docker image
5-
docker build -t mellanox/accelerated-bridge-cni-test -f ../Dockerfile ../
5+
docker build -t k8snetworkplumbingwg/accelerated-bridge-cni-test -f ../Dockerfile ../

images/k8s-v1.10-v1.15/accelerated-bridge-cni-daemonset.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)