https://go.dev/play/p/AMM1IEcVyq9
package main
import "fmt"
func main() {
https://go.dev/play/p/AMM1IEcVyq9
package main
import "fmt"
func main() {
kubectl proxy
Then in browser:
git clone [email protected]:kubernetes-sigs/sig-windows-dev-tools.git
cd sig-windows-dev-tools
vagrant destroy --force
make all
vagrant ssh controlplane
Calico/Cyclonus -- Apr 14 2021
Setting up local registry:
for node in $(kind get nodes --name $CLUSTER_NAME); do
kubectl annotate --overwrite node "${node}" "kind.x-k8s.io/registry=localhost:${reg_port}";
done
In kubernetes/dns repo:
10226 # 1) import components-base into the kubeadm package | |
10227 # 2) add a few metrics as is done in vi pkg/kubelet/metrics/metrics.go | |
10228 # 3) run "make kubeadm" | |
10229 # 4) run "kubeadm init" on your mac | |
10230 # 5) like this .//_output/local/go/bin/kubeadm init | |
diff --git a/cmd/kubeadm/app/kubeadm.go b/cmd/kubeadm/app/kubeadm.go | |
index 1842cfd8cb4..0ab66a1cadb 100644 | |
--- a/cmd/kubeadm/app/kubeadm.go |
Based on https://github.com/kubernetes/dashboard.
install the dashboard in your cluster:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.3/aio/deploy/recommended.yaml
run a proxy:
{-# LANGUAGE ScopedTypeVariables #-} | |
import Prelude (Eq, Num, Int, show, undefined, (==), (<), (>), (.)) | |
import qualified Prelude | |
id :: ((a -> r) -> r) -> ((a -> r) -> r) | |
id cx = \k -> cx k | |
id' :: a -> (a -> r) -> r |
-- module Kata (highAndLow) where | |
import Data.List (sort) | |
highAndLow :: String -> String | |
highAndLow input = case (firstAndLast $ sort $ numbers input) of Just (low, high) -> show high ++ " " ++ show low | |
numbers :: String -> [Int] | |
numbers = help [] | |
where |