https://github.com/mchirico/k8sv19
Playground for client-go
https://github.com/mchirico/k8sv19
client-go kubernetes-operator
Last synced: 4 months ago
JSON representation
Playground for client-go
- Host: GitHub
- URL: https://github.com/mchirico/k8sv19
- Owner: mchirico
- Created: 2020-08-24T15:22:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-27T13:41:55.000Z (almost 6 years ago)
- Last Synced: 2025-01-23T01:42:06.980Z (over 1 year ago)
- Topics: client-go, kubernetes-operator
- Language: Makefile
- Homepage:
- Size: 246 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# k8sv19
## Steps for running
### Build KinD image for Kubernetes v1.19.0-rc.4
```
rm -rf ${GOPATH}/src/k8s.io/kubernetes
export GO111MODULE=off
go get k8s.io/kubernetes || true
export GO111MODULE=on
go get sigs.k8s.io/kind
cd ${GOPATH}/src/k8s.io/kubernetes && git checkout v1.19.0-rc.4
kind build node-image --image=v1.19.0-rc.4
```
### Create Cluster
```
kind delete cluster
kind create cluster --image=v1.19.0-rc.4 --config calico/kind-calico.yaml
kubectl apply -f calico/ingress-nginx.yaml
kubectl apply -f calico/tigera-operator.yaml
kubectl apply -f calico/calicoNetwork.yaml
kubectl apply -f calico/calicoctl.yaml
kubectl apply -f calico/cert-manager.yaml
```
### Build and Run Program
```
go run main.go
```
### List modules
```
go list -m all
```