Skip to content

Instantly share code, notes, and snippets.

View ramiyengar's full-sized avatar

Ram Iyengar ramiyengar

View GitHub Profile
kubectl get pods -n cf-system
NAME READY STATUS RESTARTS AGE
ccdb-migrate-x9mfb 0/2 Completed 0 9h
cf-api-clock-6cb5ff6478-vkmjt 2/2 Running 0 9h
cf-api-controllers-6bbc6f7484-cstlr 3/3 Running 0 9h
cf-api-deployment-updater-7f48449c5c-5xlhb 2/2 Running 2 9h
cf-api-server-78679fcff4-25pw5 6/6 Running 0 9h
cf-api-worker-757d656c4-4fn2f 3/3 Running 0 9h
eirini-77bc57bd74-9qn64 2/2 Running 0 9h
eirini-controller-648645bcf8-r72fz 2/2 Running 0 9h
kubectl patch svc istio-ingressgateway --namespace istio-system --patch '{"spec": { "loadBalancerIP": "<insert-static-ip-here>" }}'
kapp deploy -a cf -f /home/ram/tempdir/cf-for-k8s-rendered.yml -y
ytt -f /home/ram/cf-for-k8s/config -f /home/ram/cf-k8s-prometheus/config -f /home/ram/tempdir/cf-values.yml > /home/ram/tempdir/cf-for-k8s-rendered.yml
cf-k8s-prometheus/
|-- LICENSE
|-- NOTICE
|-- README.md
|-- config
| |-- add-prometheus-node-exporter.yml
| `-- add-prometheus-server.yml
|-- experimental
|-- add-grafana.yml
`-- add-prometheus-pushgateway.yml
git clone https://github.com/cloudfoundry/cf-k8s-prometheus
./hack/generate-values.sh -d padarekha.com /home/ram/cf-values.yml