[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: I wonder if there are some commands to list port forward and remove port forward?



This is a solution :

- apiVersion: v1
  kind: Service
  metadata:
    name: mysql-service
  spec:
    ports:
      - name: mysql
        protocol: TCP
        port: 3306
        targetPort: 3306
    selector:
      name: mysql-service
    externalIPs:
      - PUBLIC_IP


2016-04-07 11:22 GMT+02:00 Stéphane Klein <contact stephane-klein info>:
It's a way ? http://kubernetes.io/docs/user-guide/services/#external-ips

2016-04-06 17:19 GMT+02:00 Stéphane Klein <contact stephane-klein info>:
2016-04-06 17:08 GMT+02:00 Andy Goldstein <agoldste redhat com>:
Port forwarding is a temporary operation - it stays alive as long as you keep the `oc port-forward` command running. Does this help answer your question?

Are there nothing to configure permanent port forwarding ? I need to configure one external access to Mysql Server in one pod.



--



--
Stéphane Klein <contact stephane-klein info>
blog: http://stephane-klein.info
cv : http://cv.stephane-klein.info
Twitter: http://twitter.com/klein_stephane

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]