This is a quick Fedora Linux specific version of the upstream Hello Minikube guide. It uses Golang as the hello world application and tries to call out a few useful things along the way.
This is a follow up to: Kubernetes Hello Minikube Fedora 25
Permalink Dependencies You’ll need golang, kvm and libvirt along with proper group membership:
sudo dnf install golang libvirt-daemon-kvm sudo usermod -a -G libvirt $(whoami) newgrp libvirt Permalink Install minikube itself curl -Lo minikube \ https://github.
Read more...
This is a quick Fedora Linux specific version of the upstream Hello Minikube guide. It uses Golang as the hello world application and tries to call out a few useful things along the way.
Permalink Dependencies You’ll need golang, kvm and libvirt along with proper group membership:
sudo dnf install golang libvirt-daemon-kvm sudo usermod -a -G libvirt $(whoami) newgrp libvirt Permalink Install minikube itself curl -Lo minikube \ https://storage.googleapis.com/minikube/releases/v0.17.1/minikube-linux-amd64 \ && chmod +x minikube \ && sudo mv minikube /usr/local/bin/ Reference: https://kubernetes.
Read more...
When I started learning about Golang templates much of what I read was around their syntax and feature set. It didn’t take long, but I found myself struggling to do things that struck me as being pretty basic. So I figured I’d write down a few things I’ve learned.
By no means is this intended to be a proper (or even correct) howto on Golang templates, rather it’s just what I’ve learned so far.
Read more...
Today I decided to perform a simple scripting task in Golang. One of the challenging aspects of coding with AWS is testing code locally. In AWS we usually use instance credentials for anything that requires permissions to AWS resources. This happens automagically via the AWS sdk when you run code within AWS. The trouble is that when you try to test the same code locally, it doesn’t have access to these instance roles - so you need to handle that.
Read more...