Merge pull request #5072 from hashicorp/docs/helm-clusterip-support

Add documentation about the new ClusterIP syncing
This commit is contained in:
Rebecca Zanzig 2018-12-07 17:20:44 -08:00 committed by GitHub
commit ebc6e6914c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -298,6 +298,10 @@ and consider if they're appropriate for your deployment.
If true, will sync Consul services to Kubernetes. This can be disabled to If true, will sync Consul services to Kubernetes. This can be disabled to
have a one-way sync. have a one-way sync.
- <a name="v-synccatalog-clusterip-sync" href="#v-synccatalog-clusterip-sync">`syncClusterIPServices`</a> (`boolean: true`) -
If true, will sync Kubernetes ClusterIP services to Consul. This can be disabled to
have the sync ignore ClusterIP-type services.
* <a name="v-ui" href="#v-ui">`ui`</a> - Values that configure the Consul UI. * <a name="v-ui" href="#v-ui">`ui`</a> - Values that configure the Consul UI.
- <a name="v-ui-enabled" href="#v-ui-enabled">`enabled`</a> (`boolean: global.enabled`) - - <a name="v-ui-enabled" href="#v-ui-enabled">`enabled`</a> (`boolean: global.enabled`) -

View File

@ -131,6 +131,14 @@ If an external IP list is present, a service instance in Consul will be created
for each external IP. It is assumed that if an external IP is present that it for each external IP. It is assumed that if an external IP is present that it
is routable and configured by some other system. is routable and configured by some other system.
#### ClusterIP
ClusterIP services are synced by default as of `consul-k8s` version 0.3.0. In
many Kubernetes clusters, ClusterIPs may not be accessible outside of the cluster,
so you may end up with services registered in Consul that are not routeable. To
skip syncing ClusterIP services, set [`syncClusterIPServices`](/docs/platform/k8s/helm.html#v-synccatalog-clusterip-sync)
to `false` in the Helm chart values file.
### Sync Enable/Disable ### Sync Enable/Disable
By default, all valid services (as explained above) are synced. This default can By default, all valid services (as explained above) are synced. This default can