Sha256: 524922e11afeab3358c001ceb75be062d1acea042b7c58d66a0608a27189cbf0

Contents?: true

Size: 821 Bytes

Versions: 53

Compression:

Stored size: 821 Bytes

Contents

apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: postgres
  labels:
    app: postgres
spec:
  serviceName: "postgres"
  replicas: 1
  selector:
    matchLabels:
      app: postgres
  template:
    metadata:
      labels:
        app: postgres
    spec:
      containers:
      - name: postgres
        image: postgres:14.0-alpine
        env:
          - name: POSTGRES_USER
            value: "postgres"
          - name: POSTGRES_PASSWORD
            value: "postgres"
          - name: PGDATA
            value: "/var/lib/postgresql/data/pgdata"
        ports:
        - containerPort: 5432
          name: postgres
        volumeMounts:
        - name: postgres
          mountPath: /var/lib/postgresql/data
      volumes:
      - name: postgres
        persistentVolumeClaim:
          claimName: postgres-pvc

Version data entries

53 entries across 49 versions & 1 rubygems

Version Path
rubypitaya-3.19.6 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.19.5 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.19.4 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.19.3 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.19.2 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.19.1 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.19.0 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.18.0 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.17.2 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.17.1 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.17.0 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.16.0 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.15.3 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.15.2 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.15.1 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.15.0 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.14.0 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.13.1 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.13.0 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/kubernetes/statefulset-postgres.yaml