summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/helm/ovn4nfv/values.yaml
blob: 660c4eba142d2525eeb2d6ae63c0181e335127bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
image:
  repository: docker.io/integratedcloudnative/ovn4nfv-k8s-plugin
  pullPolicy: IfNotPresent
  # Overrides the image tag whose default is the chart appVersion.
  tag: ""
imagePullSecrets: []

serviceAccount:
  # Specifies whether a service account should be created
  create: true
  # Annotations to add to the service account
  annotations: {}
  # The name of the service account to use.
  # If not set and create is true, a name is generated using the fullname template
  name:

nameOverride: ""
fullnameOverride: ""

cni:
  securityContext:
    privileged: true

  nodeSelector:
    beta.kubernetes.io/arch: amd64

  tolerations:
  - operator: Exists
    effect: NoSchedule

  resources:
    requests:
      cpu: 100m
      memory: 50Mi
    limits:
      cpu: 100m
      memory: 50Mi

  config:
    name: ovn4nfv-cni-config
    ovn4nfv_k8s: |
      [logging]
      loglevel=5
      logfile=/var/log/openvswitch/ovn4k8s.log

      [cni]
      conf-dir=/etc/cni/net.d
      plugin=ovn4nfvk8s-cni

      [kubernetes]
      kubeconfig=/etc/cni/net.d/ovn4nfv-k8s.d/ovn4nfv-k8s.kubeconfig
    network: |
      {
        "name": "ovn4nfv-k8s-plugin",
        "type": "ovn4nfvk8s-cni",
        "cniVersion": "0.3.1"
      }

nfnAgent:
  securityContext:
    runAsUser: 0
    capabilities:
      add: ["NET_ADMIN", "SYS_ADMIN", "SYS_PTRACE"]
    privileged: true

  nodeSelector:
    beta.kubernetes.io/arch: amd64

  tolerations:
  - operator: Exists
    effect: NoSchedule

  resources:
    requests:
      cpu: 100m
      memory: 50Mi
    limits:
      cpu: 100m
      memory: 50Mi

nfnOperator:
  nodeSelector: {}

  affinity:
    podAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
      - labelSelector:
          matchExpressions:
          - key: role
            operator: In
            values:
            - ovn-control-plane
        topologyKey: "kubernetes.io/hostname"

  tolerations:
  - operator: Exists
    effect: NoSchedule

  config:
    name: ovn-controller-network
    data: |
      OVN_SUBNET: 10.154.142.0/18
      OVN_GATEWAYIP: 10.154.142.1/18

  service:
    type: NodePort
    port: 50000

ovn:
  image:
    repository: docker.io/integratedcloudnative/ovn-images
    pullPolicy: IfNotPresent
    # Overrides the image tag whose default is the chart appVersion.
    tag: ""
  imagePullSecrets: []

ovnControlPlane:
  securityContext:
    capabilities:
      add: ["SYS_NICE"]

  nodeSelector:
    beta.kubernetes.io/os: "linux"
    node-role.kubernetes.io/master: ""

  affinity:
    podAntiAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        - labelSelector:
            matchLabels:
              role: ovn-control-plane
          topologyKey: kubernetes.io/hostname

  tolerations:
  - operator: Exists
    effect: NoSchedule

  resources:
    requests:
      cpu: 500m
      memory: 300Mi

  nbService:
    type: ClusterIP
    port: 6641

  sbService:
    type: ClusterIP
    port: 6642

ovnController:
  securityContext:
    runAsUser: 0
    privileged: true

  nodeSelector:
    beta.kubernetes.io/os: "linux"

  affinity: {}

  tolerations:
  - operator: Exists
    effect: NoSchedule

  resources:
    requests:
      cpu: 200m
      memory: 300Mi
    limits:
      cpu: 1000m
      memory: 800Mi

## RBAC parameteres
## https://kubernetes.io/docs/reference/access-authn-authz/rbac/
##
rbac:
  create: true