diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2017-10-18 19:22:04 -0400 |
---|---|---|
committer | Guo Ruijing <ruijing.guo@intel.com> | 2017-10-18 19:25:56 -0400 |
commit | 0b6cf885239f5612c19db205d9a827572ad73c8a (patch) | |
tree | 6b40c95a3eb544df4897238c9c1bb028d52303a7 /ci/kubernetes/nginx-app.yaml | |
parent | 470472f807b118b235d7ff473a3e58bfaf8c293d (diff) |
add intel multus cni support
Change-Id: I5670a824c62f6b41dddb7792c851d8b838d28b50
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'ci/kubernetes/nginx-app.yaml')
-rw-r--r-- | ci/kubernetes/nginx-app.yaml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ci/kubernetes/nginx-app.yaml b/ci/kubernetes/nginx-app.yaml new file mode 100644 index 00000000..f80881a2 --- /dev/null +++ b/ci/kubernetes/nginx-app.yaml @@ -0,0 +1,31 @@ +apiVersion: v1 +kind: Service +metadata: + name: nginx + labels: + app: nginx +spec: + type: NodePort + ports: + - port: 80 + protocol: TCP + name: http + selector: + app: nginx +--- +apiVersion: v1 +kind: ReplicationController +metadata: + name: nginx +spec: + replicas: 2 + template: + metadata: + labels: + app: nginx + spec: + containers: + - name: nginx + image: nginx + ports: + - containerPort: 80 |