New pages
Jump to navigation
Jump to search
- 21:31, 17 January 2025 Pv example (hist | edit) [728 bytes ] Busk (talk | contribs) (Created page with "``` apiVersion: v1 kind: PersistentVolume metadata: name: pv-foo spec: capacity: storage: 1Gi accessModes: - ReadWriteOnce persistentVolumeReclaimPolicy: Retai...")
- 20:56, 17 January 2025 Aks azure cli snipperts (hist | edit) [389 bytes ] Busk (talk | contribs) (Created page with "Scale up or down if you need more or less minimum nodes for testing scenerios. ``` az aks nodepool update --resource-group $rg --cluster-name $name --name default --up...")
- 17:08, 15 January 2025 Choco uninstall (hist | edit) [1,484 bytes ] Busk (talk | contribs) (Created page with "# Choco Uninstall ``` # Ensure the script is running as administrator if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInR...")
- 00:08, 15 January 2025 K8s oneliners 1 (hist | edit) [125 bytes ] Busk (talk | contribs) (Created page with "kubectl get pods --all-namespaces -o jsonpath='{.items[*].spec.containers[*].image}' | tr -s 'space:' '\n' | sort | uniq")
- 23:43, 14 January 2025 Debian CVEs (hist | edit) [860 bytes ] Busk (talk | contribs) (Created page with "# Debian CVEs ## How to Read CVEs Example Example CVE https://security-tracker.debian.org/tracker/CVE-2023-24329 Note fixed status lines https://serverfault.com/questions...")
- 00:11, 12 January 2025 Cka command snippets (hist | edit) [4,940 bytes ] Busk (talk | contribs) (Created page with "Little command snippets ``` apiVersion: apps/v1 kind: DaemonSet metadata: name: configurator namespace: configurator spec: selector: matchLabels: name: config...")
- 00:06, 12 January 2025 Networkpolicy k8s (hist | edit) [52 bytes ] Busk (talk | contribs) (Created page with "https://editor.networkpolicy.io/?id=zcUfypIhfMDOtj7U")
- 06:48, 4 January 2025 Cka kubeadm init upgrade (hist | edit) [3,766 bytes ] Busk (talk | contribs) (Created page with "## Init Ubuntu 24.04 & 22.04 ``` #!/bin/bash set -eu k8s_minor_version=1.31 prep_k8s_node(){ sudo apt update && sudo apt upgrade -y sudo apt install apt-transport-https...")
- 04:04, 4 January 2025 Kubeadm init google repo (hist | edit) [85 bytes ] Busk (talk | contribs) (Created page with "https://discuss.kubernetes.io/t/building-a-kubernetes-1-24-cluster-with-kubeadm/22047")
- 00:40, 4 January 2025 Cka2 (hist | edit) [1,826 bytes ] Busk (talk | contribs) (Created page with " https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/ ``` ``` https://github.com/cncf/curriculum/blob/master/CKA_Curriculum_v1.31.pdf")
- 23:51, 3 January 2025 Cka cheat (hist | edit) [10,216 bytes ] Busk (talk | contribs) (Created page with "``` Writing down cheat sheets are awesome for digesting what you know in a small document. Source: RODNAE Productions, Pexels I’m writing this down in preparation my exam...")
- 18:30, 3 January 2025 K8s api (hist | edit) [713 bytes ] Busk (talk | contribs) (Created page with " ``` all events (ev) podsecuritypolicies (psp) certificatesigningrequests (csr) horizontalpodautoscalers (hpa) podtemplates clusterrolebindings ingresses (ing) replicasets (r...")
- 17:44, 3 January 2025 Curl k8s (hist | edit) [609 bytes ] Busk (talk | contribs) (Created page with "curl --cert userbob.pem --key userBob-key.pem \ --cacert /path/to/ca.pem \ https://k8sServer:6443/api/v1/pods")
- 17:55, 29 December 2024 Quotes (hist | edit) [779 bytes ] Busk (talk | contribs) (Created page with "``` It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the...")
- 18:29, 27 December 2024 Kubeadm kubernetes cluster Ubuntu 24.04 (hist | edit) [5,160 bytes ] Busk (talk | contribs) (Created page with "# Init ``` #!/bin/bash set -eu kubeadm_init(){ sudo apt update && sudo apt upgrade -y sudo apt install apt-transport-https curl -y sudo apt install containerd -y sudo...")
- 15:52, 25 December 2024 Elasticsearch on k8s (hist | edit) [196 bytes ] Busk (talk | contribs) (Created page with "https://github.com/elastic/cloud-on-k8s https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html")
- 22:35, 24 December 2024 SaltStack new (hist | edit) [502 bytes ] Busk (talk | contribs) (Created page with "# Install ``` mkdir -p /etc/apt/keyrings curl -fsSL https://packages.broadcom.com/artifactory/api/security/keypair/SaltProjectKey/public | sudo tee /etc/apt/keyrings/salt-arch...")
- 22:28, 24 December 2024 Ansible kubernetes (hist | edit) [44 bytes ] Busk (talk | contribs) (Created page with "https://spacelift.io/blog/ansible-kubernetes")
- 04:19, 24 December 2024 Zimbra commands (hist | edit) [78 bytes ] Busk (talk | contribs) (Created page with "``` sudo -u zimbra bash -c "sudo /opt/zimbra/common/sbin/postsuper -d ALL" ```")
- 04:23, 23 December 2024 Kubeadm upgrade nodes (hist | edit) [2,626 bytes ] Busk (talk | contribs) (Created page with "``` #!/bin/bash # Update the package lists sudo apt update # Install the Kubernetes packages, specifying the desired version sudo apt install -y kubelet=1.31.* kubeadm=1.31....")
- 03:59, 23 December 2024 SaltStack kubernetes (hist | edit) [72 bytes ] Busk (talk | contribs) (Created page with "https://github.com/fjudith/saltstack-kubernetes/blob/master/UPGRADING.md")
- 04:40, 21 December 2024 Rancher k8s (hist | edit) [213 bytes ] Busk (talk | contribs) (Created page with "https://www.rancher.com/quick-start")
- 00:57, 21 December 2024 Kubeadm init ubuntu 24.04 (hist | edit) [10,132 bytes ] Busk (talk | contribs) (Created page with "# Kubernetes multi-node cluster using kubeadm based on Ubuntu 24.04 - https://medium.com/@subhampradhan966/kubeadm-setup-for-ubuntu-24-04-lts-f6a5fc67f0df ## Script ### kub...")
- 17:59, 20 December 2024 Kubeadm ubuntu (hist | edit) [218 bytes ] Busk (talk | contribs) (Created page with "https://medium.com/@subhampradhan966/how-to-install-kubernetes-cluster-kubeadm-setup-on-ubuntu-22-04-step-by-step-guide-dfcf33253f5f")
- 01:21, 20 December 2024 Cka (hist | edit) [2,359 bytes ] Busk (talk | contribs) (Created page with "https://medium.com/@mrJTY/kubernetes-cka-exam-cheat-sheet-6194ccf162bb")
- 21:28, 17 December 2024 Spot azure vm start if deallocated (hist | edit) [936 bytes ] Busk (talk | contribs) (Created page with "# Code ``` #!/bin/bash # Set environment variables RESOURCE_GROUP="your-resource-group" VM_NAME="your-vm-name" CHECK_INTERVAL=60 # Check every 60 seconds # Function to chec...")
- 19:46, 14 December 2024 Aks terraform ha python (hist | edit) [3,733 bytes ] Busk (talk | contribs) (Created page with "``` import os import json from jinja2 import Template # Define variables for your AKS cluster resource_group_name = "my-aks-rg" location = "eastus" cluster_name = "my-aks-clu...")
- 13:32, 14 December 2024 Github secrets rotation (hist | edit) [785 bytes ] Busk (talk | contribs) (Created page with "``` #!/bin/bash # Authenticate to Azure (if not already authenticated) az login # Get the storage account access key storage_account_name="your_storage_account_name" storage...")
- 12:56, 14 December 2024 Envsubstr (hist | edit) [2,157 bytes ] Busk (talk | contribs) (Created page with "``` Understanding the envsubst Command and Unset Variables The envsubst command is a powerful tool for substituting environment variables within text. However, when a variable...")
- 21:49, 13 December 2024 Aks postgres (hist | edit) [10,651 bytes ] Busk (talk | contribs) (Created page with "https://learn.microsoft.com/en-us/azure/aks/deploy-postgresql-ha")
- 17:29, 11 December 2024 Grafana oauth2 (hist | edit) [132 bytes ] Busk (talk | contribs) (Created page with "https://github.com/grafana/grafana/blob/main/docs/sources/setup-grafana/configure-security/configure-authentication/azuread/index.md")
- 02:34, 7 December 2024 Key vault csi secret mount (hist | edit) [2,065 bytes ] Busk (talk | contribs) (Created page with "# Code ## main.sh ``` #!/bin/bash set -eu . ../includes/main.sh az keyvault secret set --vault-name $AKS_SECRETS_KV_NAME --name my-secret --value "test value" export AKS_MAN...")
- 17:23, 27 November 2024 Rook-ceph microk8s (hist | edit) [396 bytes ] Busk (talk | contribs) (Created page with "https://github.com/rook/rook/issues/12219 helm_upgrade "--install --version 1.15.6 rook-ceph rook-release/rook-ceph --set csi.kubeletDirPath=/var/snap/microk8s/common/var/lib...")
- 18:41, 22 November 2024 Secrets csi driver (hist | edit) [75 bytes ] Busk (talk | contribs) (Created page with "https://learn.microsoft.com/en-us/azure/aks/hybrid/secrets-store-csi-driver")
- 15:57, 22 November 2024 Key vault permissions (hist | edit) [135 bytes ] Busk (talk | contribs) (Created page with "# Simple commands for clean-up az keyvault update --name $SECRETS_KV_NAME --resource-group $RGRP_NAME --enable-rbac-authorization true")
- 23:26, 16 November 2024 Servers direct (hist | edit) [275 bytes ] Busk (talk | contribs) (Created page with "https://www.avadirect.com/Tyan-Transport-HX-TN85-B8261-B8261T85E24HR-2T-Dual-AMD-EPYC-9004-Series-Processors-NVMe-2U-GPU-Rackmount-Server-Computer/Configure/18227031#ln-838414")
- 14:17, 15 November 2024 Openssl get ca from url (hist | edit) [145 bytes ] Busk (talk | contribs) (Created page with "``` openssl s_client -showcerts -connect cisco.com:443 </dev/null 2>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > ca.crt ```")
- 18:24, 14 November 2024 One line if bash (hist | edit) [123 bytes ] Busk (talk | contribs) (Created page with "``` ! -v DR_ENABLED && envtpl --keep-template foo.tf.tpl -v DR_ENABLED && envtpl --keep-template bar.tf.tpl ```")
- 20:16, 11 November 2024 Sumo jira example (hist | edit) [6,416 bytes ] Busk (talk | contribs) (Created page with "``` pip install requests ``` /etc/systemd/system/sumo-monitor ``` [Unit] Description=Sumo Logic Monitor Service After=network.target [Service] ExecStart=/usr/bin/python3 /pat...")