Skip to content

Instantly share code, notes, and snippets.

🐢
Cuddling all the Koobs

Jason DeTiberus detiber

🐢
Cuddling all the Koobs
Block or report user

Report or block detiber

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@detiber
detiber / output.txt
Last active Jul 23, 2019
Docker push failure
View output.txt
docker images | grep v0.3.5
gcr.io/k8s-staging-cluster-api-aws/cluster-api-aws-controller v0.3.5 ac2f43f6c00b 49 years ago 68.1MB
detiberyeti~$ docker tag ac2f43f6c00b gcr.io/k8s-staging-cluster-api/cluster-api-aws-controller:v0.3.5
detiberyeti~$ docker push gcr.io/k8s-staging-cluster-api/cluster-api-aws-controller:v0.3.5
The push refers to repository [gcr.io/k8s-staging-cluster-api/cluster-api-aws-controller]
813b69fcb0db: Pushed
87c747af6dc3: Layer already exists
44873b569cf3: Mounted from k8s-staging-cluster-api-aws/cluster-api-aws-controller
@detiber
detiber / README.md
Created Mar 19, 2019
k8s v1.13.4 make all
View README.md
detiberyeti~gosrck8s.iokubernetes⚓ c27b913fdd$ make clean
+++ [0319 13:32:05] Verifying Prerequisites....
+++ [0319 13:32:05] Removing _output directory
Removing pkg/generated/openapi/zz_generated.openapi.go ..
Removing test/e2e/generated/bindata.go ..
detiberyeti~gosrck8s.iokubernetes⚓ c27b913fdd$ time make all && time make all
+++ [0319 13:32:23] Building go targets for linux/amd64:
    ./vendor/k8s.io/code-generator/cmd/deepcopy-gen
+++ [0319 13:32:34] Building go targets for linux/amd64:
@detiber
detiber / README.md
Created Feb 22, 2019
Using CAPA from a management cluster
View README.md
@detiber
detiber / machineset.yaml
Created Feb 11, 2019
MachineSet no worky
View machineset.yaml
apiVersion: "cluster.k8s.io/v1alpha1"
kind: MachineSet
metadata:
name: nodeset1
spec:
replicas: 1
selector:
set: node
node-set: "1"
template:
@detiber
detiber / README.md
Last active Feb 15, 2019
Pivot testing
View README.md

Pivot Testing

Initial testing, no Machine* objects, only a Cluster object in the default namespace.

Using cluster-api-provider-aws:

clusterctl create cluster -v 3   --bootstrap-type kind   --provider aws   -m ./cmd/clusterctl/examples/aws/out/machines.yaml   -c ./cmd/clusterctl/examples/aws/out/cluster.yaml   -p ./cmd/clusterctl/examples/aws/out/provider-components.yaml -a ./cmd/clusterctl/examples/aws/out/addons.yaml
@detiber
detiber / README.md
Created Jan 9, 2019
yeti bootstrapping
View README.md
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo

# work around docker-ce-stable not being available yet for f29
sudo dnf install docker-ce --releasever=28

sudo dnf install golang
sudo dnf copr enable -y vbatts/bazel
sudo dnf install bazel
@detiber
detiber / README.md
Last active Jan 22, 2019
Cluster API Provider AWS phases with KIND
View README.md

Cluster API Provider AWS Phases with KIND

Pre-demo Prep

Install KIND

go get -u sigs.k8s.io/kind
@detiber
detiber / README.md
Last active Dec 21, 2018
Cluster API Provider AWS Demo
View README.md

Cluster API Provider AWS Demo script

Pre-demo Prep

Build and install the artifacts

make clean
export DEV_DOCKER_REPO=gcr.io/$(gcloud config get-value project)
make clusterctl clusterawsadm docker-build-dev docker-push-dev
@detiber
detiber / README.md
Created Nov 27, 2018
Testing kubeadm v1.12 - v1.13 stacked control plane upgrade
View README.md

Testing kubeadm v1.12 - v1.13 stacked control plane upgrade

Install docker on each host:

amazon-linux-extras install docker=18.06.1
cat > /etc/docker/daemon.json <<EOF
{
  "exec-opts": ["native.cgroupdriver=systemd"]
}
@detiber
detiber / README.md
Last active Sep 28, 2018
kubeadm v1.12 stacked control plane install
View README.md

Kubeadm stacked control plane install v1.12

Warning: hardcoded values below will need to be modified for testing against different hostnames and/or IPs

Common Steps

Install Docker

apt-get update && \
You can’t perform that action at this time.