aboutsummaryrefslogtreecommitdiffstats
path: root/example/ovn4nfv-deployment-noannotation-hostnames.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'example/ovn4nfv-deployment-noannotation-hostnames.yaml')
-rw-r--r--example/ovn4nfv-deployment-noannotation-hostnames.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/example/ovn4nfv-deployment-noannotation-hostnames.yaml b/example/ovn4nfv-deployment-noannotation-hostnames.yaml
new file mode 100644
index 0000000..c513df9
--- /dev/null
+++ b/example/ovn4nfv-deployment-noannotation-hostnames.yaml
@@ -0,0 +1,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"]