Guest User

Untitled

a guest
Aug 5th, 2025
46
0
11 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.03 KB | None | 0 0
  1. - apiVersion: apps/v1
  2.   kind: Deployment
  3.   metadata:
  4.     annotations:
  5.       deployment.kubernetes.io/revision: "4"
  6.     creationTimestamp: "2025-07-09T15:34:50Z"
  7.     generation: 4
  8.     labels:
  9.       app: planka
  10.     name: planka
  11.     namespace: planka
  12.     resourceVersion: "65810067"
  13.     uid: d446a6d0-d002-4889-9ac8-9df73859ba87
  14.   spec:
  15.     progressDeadlineSeconds: 600
  16.     replicas: 1
  17.     revisionHistoryLimit: 1
  18.     selector:
  19.       matchLabels:
  20.         app: planka
  21.     strategy:
  22.       rollingUpdate:
  23.         maxSurge: 25%
  24.         maxUnavailable: 25%
  25.       type: RollingUpdate
  26.     template:
  27.       metadata:
  28.         annotations:
  29.           kubectl.kubernetes.io/restartedAt: "2025-08-01T22:26:16Z"
  30.         creationTimestamp: null
  31.         labels:
  32.           app: planka
  33.       spec:
  34.         containers:
  35.         - envFrom:
  36.           - configMapRef:
  37.               name: planka
  38.           image: ghcr.io/plankanban/planka:2.0.0-rc.3
  39.           imagePullPolicy: IfNotPresent
  40.           name: planka
  41.           ports:
  42.           - containerPort: 1337
  43.             protocol: TCP
  44.           resources: {}
  45.           terminationMessagePath: /dev/termination-log
  46.           terminationMessagePolicy: File
  47.           volumeMounts:
  48.           - mountPath: /config
  49.             name: planka-config-pv
  50.         dnsPolicy: ClusterFirst
  51.         initContainers:
  52.         - args:
  53.          - /bin/sh
  54.           - -c
  55.           - |
  56.            set -ex;
  57.             SECONDS=0;
  58.             while ! nc -zv planka-postgres.planka.svc.cluster.local 5432; do
  59.               if [ "$(expr $SECONDS -ge 60)" -eq 1 ]; then
  60.                 echo "Postgres is unavailable after 60 seconds. Exiting.";
  61.                 exit 1;
  62.               fi
  63.               SECONDS=$(expr $SECONDS + 15)
  64.               sleep 15;
  65.             done
  66.             echo "Postgres is available after $SECONDS seconds."
  67.           image: busybox
  68.           imagePullPolicy: Always
  69.           name: wait-for-postgres
  70.           resources: {}
  71.           terminationMessagePath: /dev/termination-log
  72.           terminationMessagePolicy: File
  73.         restartPolicy: Always
  74.         schedulerName: default-scheduler
  75.         securityContext: {}
  76.         serviceAccount: planka
  77.         serviceAccountName: planka
  78.         terminationGracePeriodSeconds: 30
  79.         volumes:
  80.         - name: planka-config-pv
  81.           persistentVolumeClaim:
  82.             claimName: planka-config-pvc
  83. ---
  84. - apiVersion: v1
  85.   data:
  86.     BASE_URL: http://192.168.0.10
  87.     DATABASE_URL: <REDACTED>
  88.     DEFAULT_ADMIN_EMAIL: <REDACTED>
  89.     DEFAULT_ADMIN_NAME: <REDACTED>
  90.     DEFAULT_ADMIN_PASSWORD: <REDACTED>
  91.     DEFAULT_ADMIN_USERNAME: <REDACTED>
  92.     DEFAULT_LANGUAGE: en-US
  93.     PGID: "1000"
  94.     PUID: "1000"
  95.     SECRET_KEY: <REDACTED>
  96.     TRUST_PROXY: "false"
  97.     TZ: Europe/Berlin
  98.   kind: ConfigMap
  99.   metadata:
  100.     creationTimestamp: "2025-07-09T15:34:40Z"
  101.     labels:
  102.       app: planka
  103.     name: planka
  104.     namespace: planka
  105.     resourceVersion: "60195756"
  106.     uid: a832e22c-9758-4e71-8e67-726c4d654979
  107. ---
  108. - apiVersion: v1
  109.   kind: Service
  110.   metadata:
  111.     creationTimestamp: "2025-07-09T15:34:33Z"
  112.     labels:
  113.       app: planka
  114.     name: planka
  115.     namespace: planka
  116.     resourceVersion: "60195685"
  117.     uid: 03893593-5219-4fde-a597-e95f1451307c
  118.   spec:
  119.     allocateLoadBalancerNodePorts: true
  120.     clusterIP: 10.152.183.63
  121.     clusterIPs:
  122.    - 10.152.183.63
  123.     externalTrafficPolicy: Cluster
  124.     internalTrafficPolicy: Cluster
  125.     ipFamilies:
  126.    - IPv4
  127.     ipFamilyPolicy: SingleStack
  128.     loadBalancerIP: 192.168.0.10
  129.     ports:
  130.     - nodePort: 31507
  131.       port: 80
  132.       protocol: TCP
  133.       targetPort: 1337
  134.     selector:
  135.       app: planka
  136.     sessionAffinity: None
  137.     type: LoadBalancer
  138. ---
  139. - apiVersion: v1
  140.   kind: PersistentVolumeClaim
  141.   metadata:
  142.     annotations:
  143.       pv.kubernetes.io/bind-completed: "yes"
  144.     creationTimestamp: "2025-07-09T15:34:32Z"
  145.     finalizers:
  146.    - kubernetes.io/pvc-protection
  147.     name: planka-config-pvc
  148.     namespace: planka
  149.     resourceVersion: "60195673"
  150.     uid: fb4b3408-2d9a-441c-8148-e97ceec8af75
  151.   spec:
  152.     accessModes:
  153.    - ReadWriteOnce
  154.     resources:
  155.       requests:
  156.         storage: 1Gi
  157.     storageClassName: ""
  158.     volumeMode: Filesystem
  159.     volumeName: planka-config-pv
  160. ---
  161. - apiVersion: v1
  162.   kind: PersistentVolume
  163.   metadata:
  164.     annotations:
  165.       pv.kubernetes.io/bound-by-controller: "yes"
  166.     creationTimestamp: "2025-07-09T15:34:31Z"
  167.     finalizers:
  168.    - kubernetes.io/pv-protection
  169.     name: planka-config-pv
  170.     resourceVersion: "60195671"
  171.     uid: 51689100-3145-496a-be81-808e829505ae
  172.   spec:
  173.     accessModes:
  174.    - ReadWriteOnce
  175.     capacity:
  176.       storage: 1Gi
  177.     claimRef:
  178.       apiVersion: v1
  179.       kind: PersistentVolumeClaim
  180.       name: planka-config-pvc
  181.       namespace: planka
  182.       resourceVersion: "60195669"
  183.       uid: fb4b3408-2d9a-441c-8148-e97ceec8af75
  184.     hostPath:
  185.       path: /home/maddin/infra-data/planka/config
  186.       type: Directory
  187.     persistentVolumeReclaimPolicy: Retain
  188.     volumeMode: Filesystem
Advertisement
Add Comment
Please, Sign In to add comment