service:
name: cassandra
type: NodePort
headless:
suffix: ""
annotations:
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
publishNotReadyAddresses: true
headlessPorts:
- name: tcp-intra
port: 7000
- name: tls
port: 7001
- name: tcp-jmx
port: 7199
- name: tcp-cql
port: 9042
- name: tcp-thrift
port: 9160
- name: tcp-agent
port: 61621
ports:
- name: tcp-main
port: 6666
nodePort: 66
Agenda
- Pomba / CLI / holmes / sniro removal from all.yaml? as they are not part of the release
- Smarter choose of Pods (example DCAE SDC pods only if DCAE is enabled)
- HTTPs only services, proposition to change the template.
- Today services parts in values.yaml is done this way:
service:
name: cassandra
type: NodePort
headless:
suffix: ""
annotations:
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
publishNotReadyAddresses: true
headlessPorts:
- name: tcp-intra
port: 7000
- name: tls
port: 7001
- name: tcp-jmx
port: 7199
- name: tcp-cql
port: 9042
- name: tcp-thrift
port: 9160
- name: tcp-agent
port: 61621
ports:
- name: http-main
port: 6666
nodePort: 66
- this would create this headless service:
apiVersion: v1
kind: Service
metadata:
annotations:
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
name: cassandra
namespace: default
labels:
app.kubernetes.io/name: cassandra
helm.sh/chart: cassandra-5.0.0
app.kubernetes.io/instance: release
app.kubernetes.io/managed-by: Tiller
spec:
clusterIP: None
ports:
- port: 7000
targetPort: tcp-intra
name: tcp-intra
- port: 7001
targetPort: tls
name: tls
- port: 7199
targetPort: tcp-jmx
name: tcp-jmx
- port: 9042
targetPort: tcp-cql
name: tcp-cql
- port: 9160
targetPort: tcp-thrift
name: tcp-thrift
- port: 61621
targetPort: tcp-agent
name: tcp-agent
publishNotReadyAddresses: true
type: ClusterIP
selector:
app.kubernetes.io/name: cassandra
app.kubernetes.io/instance: release- and this service:
apiVersion: v1
kind: Service
metadata:
name: cassandra
namespace: default
labels:
app.kubernetes.io/name: cassandra
helm.sh/chart: cassandra-5.0.0
app.kubernetes.io/instance: release
app.kubernetes.io/managed-by: Tiller
spec:
ports:
- port: 6666
targetPort: http-main
nodePort: 30266
name: tcp-main
type: NodePort
selector:
app.kubernetes.io/name: cassandra
app.kubernetes.io/instance: release- aaa