add auto pause proxy

pull/10427/head
Medya Gh 2021-02-07 12:09:21 -08:00
parent 460342a5f2
commit 72135d70d9
2 changed files with 7 additions and 0 deletions

View File

@ -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)

View File

@ -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