cilium

Форк
0
/
install-reference-cni-plugins.yaml 
63 строки · 1.5 Кб
1
## This is used in the flannel migration example
2
## It is not otherwise needed
3
apiVersion: apps/v1
4
kind: DaemonSet
5
metadata:
6
  name: install-cni-plugins
7
  namespace: kube-system
8
  labels:
9
    tier: node
10
    app: install-cni-plugins
11
spec:
12
  selector:
13
    matchLabels:
14
      app: install-cni-plugins
15
  template:
16
    metadata:
17
      labels:
18
        tier: node
19
        app: install-cni-plugins
20
    spec:
21
      affinity:
22
        nodeAffinity:
23
          requiredDuringSchedulingIgnoredDuringExecution:
24
            nodeSelectorTerms:
25
            - matchExpressions:
26
              - key: kubernetes.io/os
27
                operator: In
28
                values:
29
                - linux
30
      hostNetwork: true
31
      priorityClassName: system-node-critical
32
      tolerations:
33
      - operator: Exists
34
        effect: NoSchedule
35
      initContainers:
36
      - name: install-cni-plugins
37
        image: quay.io/casey_callendrello/cni-plugins:v1.1.0-38-gac86731
38
        command:
39
        - sh
40
        args:
41
        - -c
42
        - "cp /cni/* /opt/cni/bin/"
43
        volumeMounts:
44
        - name: cni-plugin
45
          mountPath: /opt/cni/bin
46
      containers:
47
      - name: idle
48
        image: busybox
49
        command:
50
        - sleep
51
        args:
52
        - 5d
53
        resources:
54
          requests:
55
            cpu: "100m"
56
            memory: "5Mi"
57
          limits:
58
            cpu: "100m"
59
            memory: "10Mi"
60
      volumes:
61
      - name: cni-plugin
62
        hostPath:
63
          path: /opt/cni/bin
64

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.