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
helm install --namespace kube-system --name rbac-manager stable/rbac-manager |
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
helm install stable/cluster-autoscaler \ | |
--name cluster-autoscler \ | |
--namespace kube-system \ | |
--set cloudProvider=aws \ | |
--set autoDiscovery.clusterName=my.cluster.internal |
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
kubectl --namespace kube202 get hpa | |
NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE | |
test-hpa Deployment/test 1%/80% 2 10 2 16d |
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
apiVersion: autoscaling/v1 | |
kind: HorizontalPodAutoscaler | |
metadata: | |
name: test-hpa | |
namespace: kube202 | |
spec: | |
maxReplicas: 10 | |
minReplicas: 2 | |
scaleTargetRef: | |
apiVersion: apps/v1beta1 |
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
kubectl top node | |
NAME CPU(cores) CPU% MEMORY(bytes) MEMORY% | |
ec2.internal 208m 10% 2358Mi 61% | |
kubectl -n kube-system top pod tiller-deploy-5c99b8bcbf | |
NAME CPU(cores) MEMORY(bytes) | |
tiller-deploy-5c99b8bcbf-j7xpd 0m 27Mi |
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
helm install --name metrics-server --namespace kube-system stable/metrics-server |
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
kubectl --namespace kube202 get certificate | |
NAME AGE | |
test-https-cert 21d | |
kubectl --namespace kube202 get secret | |
NAME TYPE DATA AGE | |
test-https-cert kubernetes.io/tls 2 21d |
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
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
nginx.ingress.kubernetes.io/force-ssl-redirect: "true" | |
certmanager.k8s.io/cluster-issuer: letsencrypt-prod | |
name: test-ingress | |
namespace: kube202 | |
spec: |
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
Conditions: | |
Last Transition Time: 2018-11-02T18:36:47Z | |
Message: The ACME account was registered with the ACME server | |
Reason: ACMEAccountRegistered | |
Status: True | |
Type: Ready |
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
apiVersion: certmanager.k8s.io/v1alpha1 | |
kind: ClusterIssuer | |
metadata: | |
name: letsencrypt-prod | |
spec: | |
acme: | |
dns01: | |
providers: | |
- clouddns: | |
project: gcp-project-name |