Skip to content

Instantly share code, notes, and snippets.

View Sphinxgaia's full-sized avatar

Jérôme Masson Sphinxgaia

View GitHub Profile
@Sphinxgaia
Sphinxgaia / 04-fgtech-blog-vault-step01.md
Last active April 27, 2022 19:30
04-fgtech-blog-vault

Lancer votre cluster Kubernetes k3d

Installer K3d : https://github.com/rancher/k3d/releases

pour mon lab, je ne peux mieux faire que l'option -p "30000-30100:30000-30100@loadbalancer" un petit bug de timeout

il conviendra de mettre la bonne valeur si vous le souhaitez

k3d cluster create "podtato" \
@Sphinxgaia
Sphinxgaia / 03-00-install.md
Last active October 15, 2021 08:01
03-terraform-terragrunt

I prefer calico, but you can use default CNI : flanel

https://k3d.io/usage/guides/calico/

mkdir manifests
curl -L https://k3d.io/usage/guides/calico.yaml --output manifests/calico.yaml
@Sphinxgaia
Sphinxgaia / 02-CKA-Command-line-cheats.sh
Created September 20, 2021 06:39
CKA commands line help & cheats
# Création fichier rapidement
cat <<EOF > pod.yaml
apiVersion: apps/v1
kind: Pod
metdata:
  name: toto
spec:
cotnainer:
- name: toto
image: nginx
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3 ADD_DATE="1610904701" LAST_MODIFIED="1612620028" PERSONAL_TOOLBAR_FOLDER="true">Barre de favoris</H3>
<DL><p>