Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- › kubectl describe statefulset identity-postgresql
- Name: identity-postgresql
- Namespace: default
- CreationTimestamp: Tue, 30 May 2017 07:53:07 -0700
- Selector: chart=postgresql-1.0.0,component=identity-postgresql,heritage=Tiller,release=identity
- Labels: chart=postgresql-1.0.0
- component=identity-postgresql
- heritage=Tiller
- release=identity
- Annotations: <none>
- Replicas: 2 desired | 1 total
- Pods Status: 0 Running / 1 Waiting / 0 Succeeded / 0 Failed
- Pod Template:
- Labels: chart=postgresql-1.0.0
- component=identity-postgresql
- heritage=Tiller
- release=identity
- Annotations: prometheus.io/path=/metrics
- prometheus.io/port=9187
- prometheus.io/scrape=true
- Init Containers:
- set-data-perms:
- Image: busybox
- Port:
- Command:
- chmod
- 777
- /pgdata
- Environment: <none>
- Mounts:
- /pgdata from pgdata (rw)
- Containers:
- identity-postgresql:
- Image: quay.io/smarsh/postgres:9.6-5
- Port: 5432/TCP
- Liveness: exec [sh -c exec /usr/pgsql-9.6/bin/pg_isready --host $POD_IP] delay=10stimeout=5s period=10s #success=1 #failure=6
- Readiness: exec [sh -c exec /usr/pgsql-9.6/bin/pg_isready --host $POD_IP] delay=10stimeout=3s period=5s #success=1 #failure=3
- Environment:
- POD_IP: (v1:status.podIP)
- PG_MASTER_USER: master
- PGHOST: /tmp
- PG_MODE: set
- PG_MASTER_HOST: identity-postgresql-master
- PG_MASTER_PORT: 5432
- PG_MASTER_PASSWORD: password
- PG_USER: flyway
- PG_PASSWORD: flyway
- PG_DATABASE: identity
- PG_ROOT_PASSWORD: password
- Mounts:
- /pgdata from pgdata (rw)
- /psql-initdb.d from config-volume (rw)
- exporter:
- Image: wrouesnel/postgres_exporter:latest
- Port: 9187/TCP
- Environment:
- DATA_SOURCE_NAME: postgresql://postgres_exporter:password@127.0.0.1:5432/postgres?sslmode=disable
- Mounts: <none>
- Volumes:
- config-volume:
- Type: ConfigMap (a volume populated by a ConfigMap)
- Name: identity-postgresql
- Optional: false
- Volume Claims:
- Name: pgdata
- StorageClass: standard
- Labels: <none>
- Annotations: volume.beta.kubernetes.io/storage-class=standard
- Capacity: {{%!s(int64=53687091200) %!s(resource.Scale=0)} {%!s(*inf.Dec=<nil>)} 50Gi BinarySI}
- Access Modes: [ReadWriteOnce]
- Events:
- FirstSeen LastSeen Count From SubObjectPath Type Reason Message
- --------- -------- ----- ---- ------------- -------- ------ -------
- 34m 34m 1 statefulset Normal SuccessfulCreate pvc: pgdata-identity-postgresql-0
- 34m 34m 1 statefulset Normal SuccessfulCreate pvc: pgdata-identity-postgresql-1
- 34m 27m 3 statefulset Normal SuccessfulCreate pet: identity-postgresql-0
- matthew.ceroni in ~/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement