Created
May 31, 2022 15:49
-
-
Save chaporgin/c397e6040794a7058f0e2785928bf984 to your computer and use it in GitHub Desktop.
chapson quick paste
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
m ~/D/z/c/h/zenith-console git:(feature/1244_statefulset_1_replica) ✗ helm diff upgrade zenith-console ./ --values values-stage.yaml # --atomic --wait --timeout 10m0s | |
default, zenith-console, Deployment (apps) has been removed: | |
- # Source: zenith-console/templates/deployment.yaml | |
- apiVersion: apps/v1 | |
- kind: Deployment | |
- metadata: | |
- name: zenith-console | |
- labels: | |
- helm.sh/chart: zenith-console-0.1.1 | |
- app.kubernetes.io/name: zenith-console | |
- app.kubernetes.io/instance: zenith-console | |
- app.kubernetes.io/version: "latest" | |
- app.kubernetes.io/managed-by: Helm | |
- spec: | |
- strategy: | |
- type: Recreate | |
- replicas: 1 | |
- selector: | |
- matchLabels: | |
- app.kubernetes.io/name: zenith-console | |
- app.kubernetes.io/instance: zenith-console | |
- template: | |
- metadata: | |
- annotations: | |
- rollout-trigger: "x3V5d" | |
- labels: | |
- app.kubernetes.io/name: zenith-console | |
- app.kubernetes.io/instance: zenith-console | |
- app.kubernetes.io/component: zenith-console | |
- zenith_env: staging | |
- zenith_region: us-west-1 | |
- zenith_region_slug: virginia | |
- zenith_service: console | |
- spec: | |
- imagePullSecrets: | |
- - name: docker-hub-neon | |
- serviceAccountName: zenith-console | |
- securityContext: | |
- {} | |
- containers: | |
- - name: zenith-console | |
- securityContext: | |
- {} | |
- image: "neondatabase/console:latest" | |
- imagePullPolicy: Always | |
- envFrom: | |
- - secretRef: | |
- name: zenith-console-secret | |
- - secretRef: | |
- name: zenith-console-sentry | |
- env: | |
- - name: APP_VERSION | |
- value: "34644d2" | |
- - name: SENTRY_RELEASE | |
- value: "console@34644d2" | |
- - name: PSQL_PROXY_MGMT_ADDRESS | |
- value: host=neon-proxy port=7000 sslmode=disable | |
- - name: GIN_MODE | |
- value: release | |
- ports: | |
- - name: http | |
- containerPort: 3000 | |
- protocol: TCP | |
- - name: managementv2 | |
- containerPort: 9095 | |
- protocol: TCP | |
- - name: publicv2 | |
- containerPort: 3005 | |
- protocol: TCP | |
- - name: metrics | |
- containerPort: 9090 | |
- protocol: TCP | |
- startupProbe: | |
- httpGet: | |
- path: /healthz | |
- port: http | |
- initialDelaySeconds: 10 | |
- timeoutSeconds: 5 | |
- periodSeconds: 10 | |
- failureThreshold: 30 | |
- livenessProbe: | |
- httpGet: | |
- path: /healthz | |
- port: http | |
- periodSeconds: 15 | |
- timeoutSeconds: 10 | |
- readinessProbe: | |
- httpGet: | |
- path: /healthz | |
- port: http | |
- periodSeconds: 15 | |
- timeoutSeconds: 10 | |
- resources: | |
- {} | |
+ | |
default, zenith-console, Service (v1) has changed: | |
# Source: zenith-console/templates/service.yaml | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: zenith-console | |
labels: | |
helm.sh/chart: zenith-console-0.1.1 | |
app.kubernetes.io/name: zenith-console | |
app.kubernetes.io/instance: zenith-console | |
app.kubernetes.io/version: "latest" | |
app.kubernetes.io/managed-by: Helm | |
spec: | |
type: ClusterIP | |
ports: | |
- port: 3005 | |
targetPort: 3005 | |
protocol: TCP | |
name: public-api-v2 | |
- port: 9095 | |
targetPort: 9095 | |
protocol: TCP | |
name: management-api-v2 | |
- port: 80 | |
targetPort: http | |
protocol: TCP | |
name: http | |
- port: 9090 | |
targetPort: metrics | |
protocol: TCP | |
name: metrics | |
selector: | |
app.kubernetes.io/name: zenith-console | |
app.kubernetes.io/instance: zenith-console | |
+ app.kubernetes.io/component: zenith-console-api | |
default, zenith-console-api, StatefulSet (apps) has been added: | |
- | |
+ # Source: zenith-console/templates/api-statefulset.yaml | |
+ apiVersion: apps/v1 | |
+ kind: StatefulSet | |
+ metadata: | |
+ name: zenith-console-api | |
+ spec: | |
+ replicas: 1 # we do not set > 1, because we're not ready to have more than 1 operation executor. | |
+ selector: | |
+ matchLabels: | |
+ helm.sh/chart: zenith-console-0.1.1 | |
+ app.kubernetes.io/name: zenith-console | |
+ app.kubernetes.io/instance: zenith-console | |
+ app.kubernetes.io/version: "latest" | |
+ app.kubernetes.io/managed-by: Helm | |
+ # TODO: do something with prometheus labels | |
+ app.kubernetes.io/component: zenith-console-api | |
+ serviceName: zenith-console-api-headless | |
+ template: | |
+ metadata: | |
+ annotations: | |
+ checksum/config: | | |
+ 62d5725e04baa47d72176e423c42e9b9775bdb5fc5aadc7263346d4f3771f5aa | |
+ labels: | |
+ app.kubernetes.io/name: zenith-console | |
+ app.kubernetes.io/instance: zenith-console | |
+ app.kubernetes.io/component: zenith-console-api | |
+ zenith_env: staging | |
+ zenith_region: us-west-1 | |
+ zenith_region_slug: virginia | |
+ zenith_service: console | |
+ spec: | |
+ imagePullSecrets: | |
+ - name: docker-hub-neon | |
+ serviceAccountName: zenith-console | |
+ securityContext: | |
+ {} | |
+ containers: | |
+ - name: zenith-console | |
+ securityContext: | |
+ {} | |
+ image: "neondatabase/console:latest" | |
+ imagePullPolicy: Always | |
+ envFrom: | |
+ - secretRef: | |
+ name: zenith-console-secret | |
+ - secretRef: | |
+ name: zenith-console-sentry | |
+ env: | |
+ - name: APP_VERSION | |
+ value: "dev" | |
+ - name: SENTRY_RELEASE | |
+ value: "console@dev" | |
+ - name: PSQL_PROXY_MGMT_ADDRESS | |
+ value: host=neon-proxy port=7000 sslmode=disable | |
+ - name: GIN_MODE | |
+ value: release | |
+ ports: | |
+ - name: http | |
+ containerPort: 3000 | |
+ protocol: TCP | |
+ - name: managementv2 | |
+ containerPort: 9095 | |
+ protocol: TCP | |
+ - name: publicv2 | |
+ containerPort: 3005 | |
+ protocol: TCP | |
+ - name: metrics | |
+ containerPort: 9090 | |
+ protocol: TCP | |
+ startupProbe: | |
+ httpGet: | |
+ path: /healthz | |
+ port: http | |
+ initialDelaySeconds: 10 | |
+ timeoutSeconds: 5 | |
+ periodSeconds: 10 | |
+ failureThreshold: 30 | |
+ livenessProbe: | |
+ httpGet: | |
+ path: /healthz | |
+ port: http | |
+ periodSeconds: 15 | |
+ timeoutSeconds: 10 | |
+ readinessProbe: | |
+ httpGet: | |
+ path: /healthz | |
+ port: http | |
+ periodSeconds: 15 | |
+ timeoutSeconds: 10 | |
+ resources: | |
+ {} | |
default, zenith-console-api-headless, Service (v1) has been added: | |
- | |
+ # Source: zenith-console/templates/api-statefulset.yaml | |
+ apiVersion: v1 | |
+ kind: Service | |
+ metadata: | |
+ name: zenith-console-api-headless | |
+ labels: | |
+ helm.sh/chart: zenith-console-0.1.1 | |
+ app.kubernetes.io/name: zenith-console | |
+ app.kubernetes.io/instance: zenith-console | |
+ app.kubernetes.io/version: "latest" | |
+ app.kubernetes.io/managed-by: Helm | |
+ app.kubernetes.io/component: zenith-console-api-headless | |
+ spec: | |
+ ports: [] | |
+ clusterIP: None | |
+ selector: | |
+ helm.sh/chart: zenith-console-0.1.1 | |
+ app.kubernetes.io/name: zenith-console | |
+ app.kubernetes.io/instance: zenith-console | |
+ app.kubernetes.io/version: "latest" | |
+ app.kubernetes.io/managed-by: Helm | |
+ app.kubernetes.io/component: zenith-console-api | |
m ~/D/z/c/h/zenith-console git:(feature/1244_statefulset_1_replica) ✗ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment