add auto pause proxy
parent
460342a5f2
commit
72135d70d9
|
@ -127,6 +127,10 @@ func (d *Driver) Create() error {
|
|||
ListenAddress: listAddr,
|
||||
ContainerPort: constants.RegistryAddonPort,
|
||||
},
|
||||
oci.PortMapping{
|
||||
ListenAddress: listAddr,
|
||||
ContainerPort: constants.AutoPauseProxyPort,
|
||||
},
|
||||
)
|
||||
|
||||
exists, err := oci.ContainerExists(d.OCIBinary, params.Name, true)
|
||||
|
|
|
@ -41,6 +41,9 @@ const (
|
|||
DockerDaemonPort = 2376
|
||||
// APIServerPort is the default API server port
|
||||
APIServerPort = 8443
|
||||
// AutoPauseProxyPort is the port to be used as a reverse proxy for apiserver port
|
||||
AutoPauseProxyPort = 38443
|
||||
|
||||
// SSHPort is the SSH serviceport on the node vm and container
|
||||
SSHPort = 22
|
||||
// RegistryAddonPort os the default registry addon port
|
||||
|
|
Loading…
Reference in New Issue