spboot-internal-svc.yaml

Home   »   spboot-internal-svc.yaml

apiVersion: v1
kind: Service
metadata:
  name: spboot-svc
  namespace: spboot-app
  annotations:
    service.beta.kubernetes.io/azure-load-balancer-internal: "true"
spec:
  type: LoadBalancer
  selector:
    app: spring-boot-aks
  ports:
  - protocol: TCP
    port: 80
    targetPort: 8080

Leave a Reply

Your email address will not be published. Required fields are marked *