aboutsummaryrefslogtreecommitdiffstats
path: root/example/ovn4nfv-deployment-noannotation-hostnames.yaml
blob: c513df91eba1e2ead7f8b1d067217fc778493e8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: hostnames
  name: hostnames
spec:
  selector:
    matchLabels:
      app: hostnames
  replicas: 3
  template:
    metadata:
      labels:
        app: hostnames
    spec:
      containers:
      - name: hostnames
        image: rkamudhan/serve-hostname-amd64:1.2
        securityContext:
          capabilities:
            add: ["NET_ADMIN"]