Code Review
/
eliot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
dee46cd
)
Modified the script for Nginx Deployment
81/881/1
author
abhijit_onap
<abhijit.das.gupta@huawei.com>
Wed, 29 May 2019 07:18:53 +0000
(07:18 +0000)
committer
abhijit_onap
<abhijit.das.gupta@huawei.com>
Wed, 29 May 2019 07:19:51 +0000
(07:19 +0000)
Signed-off-by: abhijit_onap <abhijit.das.gupta@huawei.com>
Change-Id: Id98f54d473ec6904b9977f66e2110b7d5c0f27cf
scripts/verifyk8s.sh
patch
|
blob
|
history
diff --git
a/scripts/verifyk8s.sh
b/scripts/verifyk8s.sh
index
db21afd
..
7b0f52c
100755
(executable)
--- a/
scripts/verifyk8s.sh
+++ b/
scripts/verifyk8s.sh
@@
-32,13
+32,13
@@
spec:
- name: nginx
image: nginx:1.15.12
ports:
- - containerPort: 80
- hostPort: 80
+
- containerPort: 80
+
hostPort: 80
EOF
#check if nginx is already deployed
if ! kubectl get pods | grep nginx; then
- kubectl create -f testk8snginx.yaml
+ kubectl create -f testk8s
-
nginx.yaml
fi
#To check whether the deployment is succesesfull