New pages
Jump to navigation
Jump to search
- 15:31, 21 February 2025 Ceph bucket (hist | edit) [2,523 bytes ] Busk (talk | contribs) (Created page with "Ceph Bucket ceph-bucket storage class WF ``` Workflow of ceph-bucket in Rook-Ceph 1. Define a CephObjectStore (Ceph RGW) Before creating a bucket, you must have a CephObjectSt...")
- 02:02, 21 February 2025 Go prometheus client example (hist | edit) [3,132 bytes ] Busk (talk | contribs) (Created page with "# Simple client ``` set -a MIMIR_USERNAME=myuser MIMIR_PASSWORD=mypass MIMIR_URL=https://mimir.example.com/api/v1/push ``` promql ``` instance=go-client ``` ``` package main...")
- 18:40, 20 February 2025 Aks delete node (hist | edit) [1,461 bytes ] Busk (talk | contribs) (Created page with "``` #!/bin/bash # Variables RESOURCE_GROUP="your-resource-group" CLUSTER_NAME="your-aks-cluster" NODE_NAME="your-node-name" # Function to get the node resource group get_nod...")
- 18:52, 12 February 2025 Secrets diff (hist | edit) [830 bytes ] Busk (talk | contribs) (Created page with "# Secrets diff and create ``` if ! kubectl get secret netbox-tls -o yaml | grep -q "$(base64 < tls.crt)"; then kubectl delete secret netbox-tls --ignore-not-found kubectl...")
- 15:33, 12 February 2025 Dockerfile examples (hist | edit) [274 bytes ] Busk (talk | contribs) (Created page with "# Examples ## Multistage build - builds using debian runs using apline ``` FROM ubuntu ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y golang-go...")
- 15:17, 12 February 2025 Strace (hist | edit) [22 bytes ] Busk (talk | contribs) (Created page with "strace -p 19890 -f -cw")
- 03:23, 12 February 2025 Cks (hist | edit) [133 bytes ] Busk (talk | contribs) (Created page with "https://github.com/leandrocostam/cks-preparation-guide")
- 02:42, 12 February 2025 Ckad cheat1 (hist | edit) [27,641 bytes ] Busk (talk | contribs) (Created page with "``` # Good Links http://www.yamllint.com/ https://youtu.be/02AA5JRFn5w ######################################### minikube ######################################### minikube s...")
- 21:26, 5 February 2025 Ad clean-up (hist | edit) [2,162 bytes ] Busk (talk | contribs) (Created page with "# Cleanup of AD ## Create users file account line-by-line notepad users.txt and paste SAMAccountNames ## Disable disable-users-txt.ps1 ``` Import-Module ActiveDirectory $t...")
- 17:37, 4 February 2025 Aks upgrade (hist | edit) [6,205 bytes ] Busk (talk | contribs) (Created page with "# AKS Upgrade ``` # Azure Kubernetes Service (AKS) Upgrade Guide Current Version: 1.29.7 - Upgrading to Newer Versions ## Table of Contents - [Prerequisites](#prerequisites)...")
- 15:41, 4 February 2025 Nginx deploy example (hist | edit) [3,452 bytes ] Busk (talk | contribs) (Created page with "# Simple Example ``` --- apiVersion: apps/v1 kind: Deployment metadata: name: nginx labels: app: nginx spec: replicas: 2 selector: matchLabels: app: ngin...")
- 23:51, 2 February 2025 Raid new (hist | edit) [318 bytes ] Busk (talk | contribs) (Created page with "``` RAID 5 / RAID 6 64KB - 128KB Balances performance and efficiency; avoids excessive small writes. RAID 10 128KB - 256KB Best for VMware, as it minimizes RAID overhead and s...")
- 10:57, 29 January 2025 K8s monitor namespace pd (hist | edit) [2,830 bytes ] Busk (talk | contribs) (Created page with "``` # Use Golang as the base image FROM golang:1.20 AS builder # Set working directory WORKDIR /app # Copy Go modules and download dependencies COPY go.mod go.sum ./ RUN go...")
- 21:40, 24 January 2025 Psql install (hist | edit) [276 bytes ] Busk (talk | contribs) (Created page with "# jammy ``` sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ jammy-pgdg main" > /etc/apt/sources.list.d/pgdg.list' wget --quiet -O - https://www.postgresql.org/m...")
- 15:56, 24 January 2025 Netbox helm (hist | edit) [1,267 bytes ] Busk (talk | contribs) (Created page with "# This needs some changes but is a start ``` helm install netbox oci://ghcr.io/netbox-community/netbox-chart/netbox \ --set superuser.password=yourSuperuserPassword \ --se...")
- 21:28, 21 January 2025 Sumologic rsyslog (hist | edit) [1,699 bytes ] Busk (talk | contribs) (Created page with "https://help.sumologic.com/docs/send-data/hosted-collectors/cloud-syslog-source/rsyslog/ # rsyslog.conf replace <MY_SECRET_TOKEN> & other settings as needed ``` module(lo...")
- 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")