Files
oam/snippets/kubectl.sh

10 lines
208 B
Bash

#!/usr/bin/env sh
kubectl create namespace 'gitlab'
kubectl apply --namespace 'gitlab' --values 'secrets.yaml'
# Requires the metrics server to be running in the cluster
kubectl top nodes
kubectl top pods