Changes between Initial Version and Version 1 of k8s/allinone


Ignore:
Timestamp:
2024/07/20 11:59:54 (2 months ago)
Author:
yuna
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • k8s/allinone

    v1 v1  
     1== k3s 
     2{{{ 
     3curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC='--flannel-backend=none --disable-network-policy' sh - 
     4export KUBECONFIG=/etc/rancher/k3s/k3s.yaml 
     5}}} 
     6 
     7== cilium 
     8{{{ 
     9CILIUM_CLI_VERSION=$(curl -s https://raw.githubusercontent.com/cilium/cilium-cli/main/stable.txt) 
     10CLI_ARCH=amd64 
     11if [ "$(uname -m)" = "aarch64" ]; then CLI_ARCH=arm64; fi 
     12 
     13curl -L --fail --remote-name-all https://github.com/cilium/cilium-cli/releases/download/${CILIUM_CLI_VERSION}/cilium-linux-${CLI_ARCH}.tar.gz{,.sha256sum} 
     14sha256sum --check cilium-linux-${CLI_ARCH}.tar.gz.sha256sum 
     15sudo tar xzvfC cilium-linux-${CLI_ARCH}.tar.gz /usr/local/bin 
     16rm cilium-linux-${CLI_ARCH}.tar.gz{,.sha256sum} 
     17cilium install --version 1.15.7 --set=ipam.operator.clusterPoolIPv4PodCIDRList="10.42.0.0/16" 
     18 
     19cilium status --wait 
     20}}} 
     21 
     22== kubectl 
     23{{{ 
     24curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" 
     25}}} 
     26 
     27== helm 
     28{{{ 
     29curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 
     30chmod 700 get_helm.sh 
     31./get_helm.sh 
     32}}} 
     33 
     34== cerf-manager 
     35{{{ 
     36kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.15.1/cert-manager.yaml 
     37kubectl apply -f self-sign-cluster-issuer.yaml  
     38}}}