Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - apiVersion: apps/v1
- kind: Deployment
- metadata:
- annotations:
- deployment.kubernetes.io/revision: "4"
- creationTimestamp: "2025-07-09T15:34:50Z"
- generation: 4
- labels:
- app: planka
- name: planka
- namespace: planka
- resourceVersion: "65810067"
- uid: d446a6d0-d002-4889-9ac8-9df73859ba87
- spec:
- progressDeadlineSeconds: 600
- replicas: 1
- revisionHistoryLimit: 1
- selector:
- matchLabels:
- app: planka
- strategy:
- rollingUpdate:
- maxSurge: 25%
- maxUnavailable: 25%
- type: RollingUpdate
- template:
- metadata:
- annotations:
- kubectl.kubernetes.io/restartedAt: "2025-08-01T22:26:16Z"
- creationTimestamp: null
- labels:
- app: planka
- spec:
- containers:
- - envFrom:
- - configMapRef:
- name: planka
- image: ghcr.io/plankanban/planka:2.0.0-rc.3
- imagePullPolicy: IfNotPresent
- name: planka
- ports:
- - containerPort: 1337
- protocol: TCP
- resources: {}
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- volumeMounts:
- - mountPath: /config
- name: planka-config-pv
- dnsPolicy: ClusterFirst
- initContainers:
- - args:
- - /bin/sh
- - -c
- - |
- set -ex;
- SECONDS=0;
- while ! nc -zv planka-postgres.planka.svc.cluster.local 5432; do
- if [ "$(expr $SECONDS -ge 60)" -eq 1 ]; then
- echo "Postgres is unavailable after 60 seconds. Exiting.";
- exit 1;
- fi
- SECONDS=$(expr $SECONDS + 15)
- sleep 15;
- done
- echo "Postgres is available after $SECONDS seconds."
- image: busybox
- imagePullPolicy: Always
- name: wait-for-postgres
- resources: {}
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- restartPolicy: Always
- schedulerName: default-scheduler
- securityContext: {}
- serviceAccount: planka
- serviceAccountName: planka
- terminationGracePeriodSeconds: 30
- volumes:
- - name: planka-config-pv
- persistentVolumeClaim:
- claimName: planka-config-pvc
- ---
- - apiVersion: v1
- data:
- BASE_URL: http://192.168.0.10
- DATABASE_URL: <REDACTED>
- DEFAULT_ADMIN_EMAIL: <REDACTED>
- DEFAULT_ADMIN_NAME: <REDACTED>
- DEFAULT_ADMIN_PASSWORD: <REDACTED>
- DEFAULT_ADMIN_USERNAME: <REDACTED>
- DEFAULT_LANGUAGE: en-US
- PGID: "1000"
- PUID: "1000"
- SECRET_KEY: <REDACTED>
- TRUST_PROXY: "false"
- TZ: Europe/Berlin
- kind: ConfigMap
- metadata:
- creationTimestamp: "2025-07-09T15:34:40Z"
- labels:
- app: planka
- name: planka
- namespace: planka
- resourceVersion: "60195756"
- uid: a832e22c-9758-4e71-8e67-726c4d654979
- ---
- - apiVersion: v1
- kind: Service
- metadata:
- creationTimestamp: "2025-07-09T15:34:33Z"
- labels:
- app: planka
- name: planka
- namespace: planka
- resourceVersion: "60195685"
- uid: 03893593-5219-4fde-a597-e95f1451307c
- spec:
- allocateLoadBalancerNodePorts: true
- clusterIP: 10.152.183.63
- clusterIPs:
- - 10.152.183.63
- externalTrafficPolicy: Cluster
- internalTrafficPolicy: Cluster
- ipFamilies:
- - IPv4
- ipFamilyPolicy: SingleStack
- loadBalancerIP: 192.168.0.10
- ports:
- - nodePort: 31507
- port: 80
- protocol: TCP
- targetPort: 1337
- selector:
- app: planka
- sessionAffinity: None
- type: LoadBalancer
- ---
- - apiVersion: v1
- kind: PersistentVolumeClaim
- metadata:
- annotations:
- pv.kubernetes.io/bind-completed: "yes"
- creationTimestamp: "2025-07-09T15:34:32Z"
- finalizers:
- - kubernetes.io/pvc-protection
- name: planka-config-pvc
- namespace: planka
- resourceVersion: "60195673"
- uid: fb4b3408-2d9a-441c-8148-e97ceec8af75
- spec:
- accessModes:
- - ReadWriteOnce
- resources:
- requests:
- storage: 1Gi
- storageClassName: ""
- volumeMode: Filesystem
- volumeName: planka-config-pv
- ---
- - apiVersion: v1
- kind: PersistentVolume
- metadata:
- annotations:
- pv.kubernetes.io/bound-by-controller: "yes"
- creationTimestamp: "2025-07-09T15:34:31Z"
- finalizers:
- - kubernetes.io/pv-protection
- name: planka-config-pv
- resourceVersion: "60195671"
- uid: 51689100-3145-496a-be81-808e829505ae
- spec:
- accessModes:
- - ReadWriteOnce
- capacity:
- storage: 1Gi
- claimRef:
- apiVersion: v1
- kind: PersistentVolumeClaim
- name: planka-config-pvc
- namespace: planka
- resourceVersion: "60195669"
- uid: fb4b3408-2d9a-441c-8148-e97ceec8af75
- hostPath:
- path: /home/maddin/infra-data/planka/config
- type: Directory
- persistentVolumeReclaimPolicy: Retain
- volumeMode: Filesystem
Advertisement
Add Comment
Please, Sign In to add comment