1 2 3 4 5 6 7 8 9 10 11 12 13
apiVersion: v1 kind: Service metadata: name: cas-service spec: ports: - port: 8000 targetPort: 8000 name: http protocol: TCP selector: app: cas type: LoadBalancer