We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 270f099 commit 24b964dCopy full SHA for 24b964d
k8s/deployment-cicd.yaml
@@ -0,0 +1,23 @@
1
+apiVersion: apps/v1
2
+kind: Deployment
3
+metadata:
4
+ name: kiii-cicd
5
+spec:
6
+ replicas: 1
7
+ selector:
8
+ matchLabels:
9
+ app: kiii-cicd
10
+ template:
11
+ metadata:
12
+ labels:
13
14
+ spec:
15
+ containers:
16
+ - name: kiii-cicd
17
+ image: macccy/kiii-app:latest
18
+ imagePullPolicy: Always
19
+ ports:
20
+ - containerPort: 8082
21
+ env:
22
+ - name: ASPNETCORE_URLS
23
+ value: "http://0.0.0.0:8082"
k8s/kubectl
k8s/service-cicd.yaml
@@ -0,0 +1,12 @@
+apiVersion: v1
+kind: Service
+ name: kiii-cicd-service
+ type: NodePort
+ - port: 8082
+ targetPort: 8082
+ nodePort: 30080
0 commit comments