/diag-tools

Primary LanguageDockerfile

diag-tools

Install されているもの

  • curl
  • ping
  • ip
  • dig, host
  • tcpdump
  • lsof
  • strace
  • openssl
  • jq
  • vim
  • gcloud
  • kubectl
  • MySQL/MariaDB Client (mariadb-client)
  • PostgreSQL Client (psql)

helm install

latest

helm install diag-tools oci://ghcr.io/yteraoka/chart/diag-tools

specific version

helm install diag-tools oci://ghcr.io/yteraoka/chart/diag-tools --version 0.5.16

or

cd chart/diag-tools
helm install diag-tools .

調査用 Pod の作成

kubectl apply -f - <<EOF
apiVersion: v1
kind: Pod
metadata:
  name: debug
spec:
  containers:
    - name: diag-tools
      image: ghcr.io/yteraoka/diag-tools:latest
      command:
        - /bin/bash
      args:
        - -c
        - sleep infinity
EOF
kubectl apply -f - <<EOF
apiVersion: v1
kind: Pod
metadata:
  name: debug
  #labels:
  #  use-fargate: "true"
spec:
  serviceAccountName: xxx
  containers:
    - name: diag-tools
      image: ghcr.io/yteraoka/diag-tools:latest
      command:
        - /bin/bash
      args:
        - -c
        - sleep infinity
      resources:
        limits:
          cpu: 500m
          memory: 512Mi
        requests:
          cpu: 500m
          memory: 512Mi
EOF