Skip to content

Commit

Permalink
Deployment file
Browse files Browse the repository at this point in the history
With this configuration, `bond` CNI plugin can be deployed via:

```
kubectl apply -f https://raw.githubusercontent.com/k8snetworkplumbingwg/bond-cni/master/manifests/bond.yml

```

Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
  • Loading branch information
zeeke committed Nov 19, 2024
1 parent 9f99b7d commit 6f7b664
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions manifests/bond-cni.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: bond-cni
labels:
tier: node
app: bond-cni
spec:
selector:
matchLabels:
app: bond-cni
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 10%
template:
metadata:
labels:
tier: node
app: bond-cni
spec:
nodeSelector:
kubernetes.io/arch: amd64
kubernetes.io/os: linux
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
containers:
- name: bond-cni-plugin
image: ghcr.io/k8snetworkplumbingwg/bond-cni:latest
resources:
requests:
cpu: "10m"
memory: "15Mi"
volumeMounts:
- name: cnibin
mountPath: /host/opt/cni/bin/

0 comments on commit 6f7b664

Please sign in to comment.