- Create your kind cluster (suit yourself https://kind.sigs.k8s.io/docs/user/configuration/)
cat <<EOF | kind create cluster --config=-
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: echoserver | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: echoserver | |
namespace: echoserver |
#!/usr/bin/env bash | |
# | |
# Script for guide: | |
# https://gorka.eguileor.com/vbox-vmware-in-secureboot-linux-2016-update/ | |
# | |
# Verification: | |
# dmesg | grep "EFI:.*cert.*${cert_name}" | |
# | |
set -eu | |
set -o pipefail |
package main | |
import ( | |
"fmt" | |
"encoding/base64" | |
) | |
func main() { | |
str := "Hello, playground :)" | |
#!/bin/sh | |
# | |
# Print Pods which are Pending or not Ready for some reaosn | |
# | |
kubectl get pods --all-namespaces -o go-template='{{ range $item := .items }}{{ range .status.conditions }}{{ if (or (and (eq .type "PodScheduled") (eq .status "False")) (and (eq .type "Ready") (eq .status "False"))) }}{{ $item.metadata.name}} {{ end }}{{ end }}{{ end }}' |
cat <<EOF | kind create cluster --config=-
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx-proxy-to-alertmanager | |
namespace: kube-system | |
labels: | |
app: nginx-proxy-to-alertmanager | |
group: monitoring | |
component: loki |