Last active
January 30, 2023 19:58
-
-
Save vlobachev/87265eacb1537527a0f11abd468567bd to your computer and use it in GitHub Desktop.
AWS EKS Cost optimisation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://aws.amazon.com/blogs/containers/cost-optimization-for-kubernetes-on-aws/ | |
| https://docs.aws.amazon.com/eks/latest/userguide/cost-monitoring.html | |
| To find all local storages: | |
| kubectl get pods --all-namespaces -o=json | jq -c '.items[] | {name: .metadata.name, namespace: .metadata.namespace, claimName: .spec | select( has ("volumes") ).volumes[] | select( has ("persistentVolumeClaim") ).persistentVolumeClaim.claimName }' | |
| Istio resources: | |
| kubectl -n istio-system get istiooperators.install.istio.io installed-state -o json | jq .spec.values.global.proxy.resources |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment