Skip to content

Instantly share code, notes, and snippets.

View tron4x's full-sized avatar
:octocat:

Konstantinos P. tron4x

:octocat:
View GitHub Profile
@tron4x
tron4x / REDAME.md
Last active December 21, 2024 21:01
istio - too many open files

sysctl fs.inotify.max_user_instances=1280

sysctl fs.inotify.max_user_watches=655360

@tron4x
tron4x / README.md
Last active December 17, 2024 07:20
Backup cnpg cluster to s3 bucket
backup:
    barmanObjectStore:
      destinationPath: "s3://<bucket-name>/"
      endpointURL: https://<endpoint-url>/
      s3Credentials:
        accessKeyId:
          name: backup-creds
          key: ACCESS_KEY_ID
 secretAccessKey:
@tron4x
tron4x / README.md
Last active November 10, 2024 08:41
Kasten K10 - Longhorn - VolumeSnapshotClass

For Kasten K10 to work with Longhorn properly, you have to create a volumesnapshotclass.
Annotations for Kasten K10 must be set as below:

kind: VolumeSnapshotClass
apiVersion: snapshot.storage.k8s.io/v1
metadata:
  name: longhorn-snapshot-vsc
  annotations:
 k10.kasten.io/is-snapshot-class: "true"
@tron4x
tron4x / README.md
Last active November 10, 2024 08:32
ArgoCD create admin account
argocd login <url>:<port> --username <username> --password <password>
argocd account list
kubectl get configmap argocd-cm -n argocd -o yaml > argocd-cm.yaml