Skip to content

Instantly share code, notes, and snippets.

@lucianozablocki
lucianozablocki / spire-quickstart-k8s-kubeadm.md
Created January 29, 2021 14:00
Add default storage class to run the SPIRE Quickstart for Kubernetes on Kubeadm

SPIRE Quickstart for Kubernetes on Kubeadm

If you are using Kubeadm to run the Quickstart for Kubernetes tutorial, a default storage class and an associated provisioner must be manually created. To achieve this, proceed with the steps described in the link, and after running the command in Create Server Bundle Configmap, Role & ClusterRoleBinding, apply the following files.

kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  namespace: kube-system
  name: standard
  annotations:
@lucianozablocki
lucianozablocki / install-init-kubeadm.md
Last active January 27, 2021 17:02
How to install kubeadm and initialize it

Prepare the VM

Change to root:

sudo su

Turn off swap: To do this, you will first need to turn it off directly …

swapoff -a