Loading makefile_parts/kube-cluster.mk +6 −2 Original line number Diff line number Diff line Loading @@ -15,7 +15,6 @@ ifndef AWS_PROFILE missing_vars := ${missing_vars} AWS_PROFILE endif ifndef TILLER_IMAGE TILLER_IMAGE := gcr.io/kubernetes-helm/tiller:v2.9.1 endif Loading @@ -26,10 +25,15 @@ my-token: ## Get my AWS IAM token to login to Kubernetes .PHONY: describe-cluster describe-cluster: ## Check EKS cluster settings @aws eks describe-cluster --cluster-name ${CLUSTER_NAME} --query cluster aws eks describe-cluster --name ${CLUSTER_NAME} --query cluster list-clusters: ## show all EKS clusters @aws eks list-clusters .PHONY: cluster-info cluster-info: ## show EKS cluster info @kubectl cluster-info @kubectl get all --all-namespaces .PHONY: get-images get-images: ## List all images running in the cluster @kubectl get pods --all-namespaces -o jsonpath="{..image}" | tr -s '[[:space:]]' '\n' | sort | uniq -c Loading Loading
makefile_parts/kube-cluster.mk +6 −2 Original line number Diff line number Diff line Loading @@ -15,7 +15,6 @@ ifndef AWS_PROFILE missing_vars := ${missing_vars} AWS_PROFILE endif ifndef TILLER_IMAGE TILLER_IMAGE := gcr.io/kubernetes-helm/tiller:v2.9.1 endif Loading @@ -26,10 +25,15 @@ my-token: ## Get my AWS IAM token to login to Kubernetes .PHONY: describe-cluster describe-cluster: ## Check EKS cluster settings @aws eks describe-cluster --cluster-name ${CLUSTER_NAME} --query cluster aws eks describe-cluster --name ${CLUSTER_NAME} --query cluster list-clusters: ## show all EKS clusters @aws eks list-clusters .PHONY: cluster-info cluster-info: ## show EKS cluster info @kubectl cluster-info @kubectl get all --all-namespaces .PHONY: get-images get-images: ## List all images running in the cluster @kubectl get pods --all-namespaces -o jsonpath="{..image}" | tr -s '[[:space:]]' '\n' | sort | uniq -c Loading