apiVersion: v1 kind: Service metadata: name: cas-service spec: ports: - port: 8000 targetPort: 8000 name: http protocol: TCP selector: app: cas type: LoadBalancer