init: hello-cicd project setup
This commit is contained in:
13
k8s/service.yaml
Normal file
13
k8s/service.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
# k8s/service.yaml
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: hello-cicd-svc
|
||||
namespace: student-sz11zs
|
||||
spec:
|
||||
selector:
|
||||
app: hello-cicd
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8000
|
||||
type: NodePort
|
||||
Reference in New Issue
Block a user