Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

support for headless services for API server #2304

Merged

Conversation

guptaarvindk
Copy link
Contributor

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.

…iiton this feature also allow to use userdefined clusterIp type service, where user can specify the IP or let Kubernetes choose an IP.
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 27, 2018
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 27, 2018
@guptaarvindk
Copy link
Contributor Author

/assign @pmorie

@@ -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` |
Copy link
Contributor

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 }}
Copy link
Contributor

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

@nilebox
Copy link
Contributor

nilebox commented Aug 30, 2018

/ok-to-test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 30, 2018
@guptaarvindk
Copy link
Contributor Author

Thanks for review @nilebox. Pushed the suggested changes.

@luksa
Copy link
Contributor

luksa commented Aug 31, 2018

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 31, 2018
@nilebox
Copy link
Contributor

nilebox commented Aug 31, 2018

/approve

@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 31, 2018
@k8s-ci-robot k8s-ci-robot merged commit 2976a28 into kubernetes-retired:master Aug 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants