-
Notifications
You must be signed in to change notification settings - Fork 382
support for headless services for API server #2304
support for headless services for API server #2304
Conversation
…iiton this feature also allow to use userdefined clusterIp type service, where user can specify the IP or let Kubernetes choose an IP.
/assign @pmorie |
charts/catalog/README.md
Outdated
@@ -48,8 +48,9 @@ chart and their default values. | |||
| `apiserver.aggregator.groupPriorityMinimum` | The minimum priority the group should have. | `10000` | | |||
| `apiserver.aggregator.versionPriority` | The ordering of this API inside of the group | `20` | | |||
| `apiserver.tls.requestHeaderCA` | Base64-encoded CA used to validate request-header authentication, when receiving delegated authentication from an aggregator. If not set, the service catalog API server will inherit this CA from the `extension-apiserver-authentication` ConfigMap if available. | `nil` | | |||
| `apiserver.service.type` | Type of service; valid values are `LoadBalancer` and `NodePort` | `NodePort` | | |||
| `apiserver.service.type` | Type of service; valid values are `LoadBalancer` and `NodePort` and `ClusterIP` | `NodePort` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to "... LoadBalancer
, NodePort
and ClusterIP
... "
(you have "and" twice in the sentence enumerating types)
@@ -9,6 +9,11 @@ metadata: | |||
heritage: "{{ .Release.Service }}" | |||
spec: | |||
type: {{ .Values.apiserver.service.type }} | |||
{{- if eq .Values.apiserver.service.type "ClusterIP" }} | |||
{{- if .Values.apiserver.service.clusterIp }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please change clusterIp
-> clusterIP
everywhere
/ok-to-test |
fixed a typo.
Thanks for review @nilebox. Pushed the suggested changes. |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nilebox The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
support for headless services for API server (Type:clusterIP;clusterIP:None). In additon this feature also allow to use userdefined clusterIp type service, where user can specify the IP or let Kubernetes choose an IP.
In some scenarios API server can work with headless services.