Versions Compared

Key

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

...

Code Block
languagebash
cat > portal-vnc-service.yaml <<EOF
apiVersion: v1
kind: Service
metadata:
  name: portal-vnc-ssh
  labels:
    app: portal-vnc-ssh
  namespace: NAMESPACE
spec:
  ports:
  - name: portal-3
    nodePort: NODE-PORT
    port: 22
    protocol: TCP
    targetPort: 22
  selector:
    app: portal-vnc
  type: NodePort
EOF

...