Skip to content

Instantly share code, notes, and snippets.

@ismailbay
ismailbay / csr-approver.yaml
Last active October 30, 2023 19:05
csr-approver-standalone
---
# Source: kubelet-csr-approver/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: kubelet-csr-approver
namespace: kube-system
labels:
helm.sh/chart: kubelet-csr-approver-1.0.5
app.kubernetes.io/name: kubelet-csr-approver
@ismailbay
ismailbay / sidero.md
Last active February 21, 2024 16:02
sidero-baremetal

Sidero Metal (CAPI) bare metal Kubernetes Provisioning

VM with Docker as Controlplane

  • create a VM, install docker and Sidero prerequisities
  • bootstrap the controlplane node:
    # host ip of the VM
    export HOST_IP="192.168.20.51"
@ismailbay
ismailbay / create-vm.sh
Last active April 29, 2020 19:43
create ubuntu18.04 VMs
#!/bin/sh
# https://blog.alexellis.io/kvm-kubernetes-primer/
NAME=$1
CPUS=$2
RAM=$3
if [ -z "$NAME" ] ;
then
@ismailbay
ismailbay / boxstarter.ps1
Last active October 6, 2019 17:45 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt: