Merge "Remove deprecated svc annotation tolerate-unready-endpoints"
This commit is contained in:
commit
6c861be272
@ -15,6 +15,6 @@ apiVersion: v1
|
|||||||
appVersion: v1.0.0
|
appVersion: v1.0.0
|
||||||
description: OpenStack-Helm Ceph Mon
|
description: OpenStack-Helm Ceph Mon
|
||||||
name: ceph-mon
|
name: ceph-mon
|
||||||
version: 0.1.6
|
version: 0.1.7
|
||||||
home: https://github.com/ceph/ceph
|
home: https://github.com/ceph/ceph
|
||||||
...
|
...
|
||||||
|
@ -19,14 +19,6 @@ kind: Service
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ tuple "ceph_mon" "discovery" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
name: {{ tuple "ceph_mon" "discovery" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
||||||
annotations:
|
|
||||||
# In kubernetes 1.6 and beyond, it seems there was a change in behavior
|
|
||||||
# requiring us to tolerate unready endpoints to form a quorum. I can only
|
|
||||||
# guess at some small timing change causing statefulset+2 to not see the
|
|
||||||
# now ready statefulset+1, and because we do not tolerate unready endpoints
|
|
||||||
# a newly provisioned ceph-mon will most certainly never see itself in the
|
|
||||||
# peer list. This change allows us to form a quorum reliably everytime
|
|
||||||
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
|
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: mon
|
- name: mon
|
||||||
@ -40,4 +32,5 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
{{ tuple $envAll "ceph" "mon" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
{{ tuple $envAll "ceph" "mon" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||||
clusterIP: None
|
clusterIP: None
|
||||||
|
publishNotReadyAddresses: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -15,7 +15,7 @@ apiVersion: v1
|
|||||||
appVersion: v10.2.31
|
appVersion: v10.2.31
|
||||||
description: OpenStack-Helm MariaDB
|
description: OpenStack-Helm MariaDB
|
||||||
name: mariadb
|
name: mariadb
|
||||||
version: 0.2.1
|
version: 0.2.2
|
||||||
home: https://mariadb.com/kb/en/
|
home: https://mariadb.com/kb/en/
|
||||||
icon: http://badges.mariadb.org/mariadb-badge-180x60.png
|
icon: http://badges.mariadb.org/mariadb-badge-180x60.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -19,8 +19,6 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ tuple "oslo_db" "discovery" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
name: {{ tuple "oslo_db" "discovery" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
||||||
annotations:
|
|
||||||
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
|
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: mysql
|
- name: mysql
|
||||||
@ -28,6 +26,7 @@ spec:
|
|||||||
- name: wsrep
|
- name: wsrep
|
||||||
port: {{ tuple "oslo_db" "direct" "wsrep" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
port: {{ tuple "oslo_db" "direct" "wsrep" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
clusterIP: None
|
clusterIP: None
|
||||||
|
publishNotReadyAddresses: true
|
||||||
selector:
|
selector:
|
||||||
{{ tuple $envAll "mariadb" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
{{ tuple $envAll "mariadb" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -7,4 +7,5 @@ ceph-mon:
|
|||||||
- 0.1.4 Uplift from Nautilus to Octopus release
|
- 0.1.4 Uplift from Nautilus to Octopus release
|
||||||
- 0.1.5 Add Ceph CSI plugin
|
- 0.1.5 Add Ceph CSI plugin
|
||||||
- 0.1.6 Fix python3 issue for util scripts
|
- 0.1.6 Fix python3 issue for util scripts
|
||||||
|
- 0.1.7 remove deprecated svc annotation tolerate-unready-endpoints
|
||||||
...
|
...
|
||||||
|
@ -17,4 +17,5 @@ mariadb:
|
|||||||
- 0.1.14 Update mysqld-exporter image to v0.12.1
|
- 0.1.14 Update mysqld-exporter image to v0.12.1
|
||||||
- 0.2.0 Uplift mariadb version and ubuntu release
|
- 0.2.0 Uplift mariadb version and ubuntu release
|
||||||
- 0.2.1 Prevent potential splitbrain issue if cluster is in reboot state
|
- 0.2.1 Prevent potential splitbrain issue if cluster is in reboot state
|
||||||
|
- 0.2.2 remove deprecated svc annotation tolerate-unready-endpoints
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user