diff --git a/site/static/examples/config-multi-node.yaml b/site/static/examples/config-multi-node.yaml new file mode 100644 index 0000000000..35467ef851 --- /dev/null +++ b/site/static/examples/config-multi-node.yaml @@ -0,0 +1,7 @@ +kind: Cluster +apiVersion: kind.x-k8s.io/v1alpha4 +nodes: +- role: control-plane +- role: worker +- role: worker +- role: worker \ No newline at end of file diff --git a/site/static/examples/metrics-server/kustomization.yaml b/site/static/examples/metrics-server/kustomization.yaml new file mode 100644 index 0000000000..54eb512fb4 --- /dev/null +++ b/site/static/examples/metrics-server/kustomization.yaml @@ -0,0 +1,15 @@ +# Use `kubectl apply -k .` to install +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml +patches: + - target: + version: v1 + kind: Deployment + name: metrics-server + namespace: kube-system + patch: |- + - op: add + path: /spec/template/spec/containers/0/args/- + value: --kubelet-insecure-tls \ No newline at end of file