aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakiyamn2022-07-07 21:17:45 +1000
committerakiyamn2022-07-07 21:17:45 +1000
commitdbb060175f3851003acdde9568ef32018c3c763a (patch)
treef1146bc3245c84cd521284f1f23042c915fe8e77
parent38d9272164ac79e1bfb1cff34774c93924da094e (diff)
downloadargo-test-main.tar.gz
argo-test-main.zip
Add svcHEADmain
-rw-r--r--yamls/deployment.yaml2
-rw-r--r--yamls/service.yaml18
2 files changed, 18 insertions, 2 deletions
diff --git a/yamls/deployment.yaml b/yamls/deployment.yaml
index d04ec95..594c899 100644
--- a/yamls/deployment.yaml
+++ b/yamls/deployment.yaml
@@ -1,7 +1,6 @@
apiVersion: apps/v1
kind: Deployment
metadata:
- creationTimestamp: null
labels:
app: i2-deploy
name: i2-deploy
@@ -13,7 +12,6 @@ spec:
strategy: {}
template:
metadata:
- creationTimestamp: null
labels:
app: i2-deploy
spec:
diff --git a/yamls/service.yaml b/yamls/service.yaml
new file mode 100644
index 0000000..6dbe385
--- /dev/null
+++ b/yamls/service.yaml
@@ -0,0 +1,18 @@
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: i2-deploy
+ app.kubernetes.io/instance: argo-test
+ name: i2-deploy
+ namespace: argo-test
+spec:
+ ports:
+ - port: 80
+ protocol: TCP
+ targetPort: 80
+ selector:
+ app: i2-deploy
+ type: LoadBalancer
+status:
+ loadBalancer: {}