go-user-store
, go-refresh-token-store
, go-auth-service
and redis
Kubernetes configurations for DockerHub Images
The container images can be found on:
- https://hub.docker.com/r/vahdet/go-user-store/
- https://hub.docker.com/r/vahdet/go-refresh-token-store/
- https://hub.docker.com/r/vahdet/go-auth-service/
on Kubernetes
The logic for a container environment (including linking containers) can be built on Kubernetes.
Pulling images from Docker Hub
In documentation it says:
You create your Docker image and push it to a registry before referring to it in a Kubernetes pod.
The image property of a container supports the same syntax as the docker command does, including private registries and tags.
For further reading:
Minikube
Minikube is a single-node version of Kubernetes especially handy for local development.
On a Linux Machine Minikube can be run with no VMs. To do that minikubes should be started with the vm-driver
option set to false
sudo minikube start --vm-driver=none
pod
Multiple containers in the same Having multiple containers in the same pod:
- makes it possible to communicate the containers of the same port only through their
port
s.
kubectl
command with the .yml configs
Using kubectl create -f path/to/yml
Kubernetes Setup on AWS
Kops is used for setup Kubernetes on AWS.