Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create a file authentication-internal.yml with the following content:

    Code Block
    languageyml
    kind: Service
    apiVersion: v1
    metadata:
      name: authentication-internal
    spec:
      selector:
        appname: authentication
      type: ClusterIP
      ports:
      - protocol: TCP
        port: 80
        targetPort: 8081


  • Run the command:

    Code Block
    languagepowershell
    kubectl -n yuuvis apply -f authentication-internal.yml


...