apiVersion: apps/v1 kind: Deployment metadata: name: ci4s-auth-deployment namespace: ci4s-test spec: replicas: 1 selector: matchLabels: app: ci4s-auth template: metadata: labels: app: ci4s-auth spec: containers: - name: ci4s-auth image: ci4s-auth:v1.0 ports: - containerPort: 9200 --- apiVersion: v1 kind: Service metadata: name: ci4s-auth-service namespace: ci4s-test spec: type: NodePort ports: - port: 9200 nodePort: 31206 protocol: TCP selector: app: ci4s-auth