Skip to content

Instantly share code, notes, and snippets.

View jeromy-vandusen-obs's full-sized avatar

Jeromy Van Dusen jeromy-vandusen-obs

View GitHub Profile
@jeromy-vandusen-obs
jeromy-vandusen-obs / KubernetesInstallationCheatSheet.md
Last active November 12, 2018 18:25
Kubernetes Installation Cheat Sheet

Kubernetes Installation Cheat Sheet

Use these steps to install Kubernetes tools on the master and worker nodes.

$ curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
$ sudo vim /etc/apt/sources.list.d/kubernetes.list
> deb http://apt.kubernetes.io/ kubernetes-xenial main
$ sudo apt-get update
$ sudo apt-get install kubelet kubeadm kubectl
@jeromy-vandusen-obs
jeromy-vandusen-obs / DockerInstallationCheatSheet.md
Last active October 11, 2018 14:09
Docker Installation Cheat Sheet

Docker Installation Cheat Sheet

Install Docker on Ubuntu

$ sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
$ sudo apt-get update
$ sudo apt-get install docker-ce
@jeromy-vandusen-obs
jeromy-vandusen-obs / DockerSwarmCheatSheet.md
Last active March 3, 2025 13:29
Docker Swarm Cheat Sheet

Docker Swarm Cheat Sheet

Initialize the local Docker service as a swarm manager. As a guideline, in production you should have 3 to 5 managers. Swarm is managed through port 2377, which should be blocked from external access.

$ docker swarm init

Join an existing swarm as a worker node. Replace $SWARM_MANAGER with the IP address or domain name of a swarm manager node.

@jeromy-vandusen-obs
jeromy-vandusen-obs / ADockerTemplateForSpringBootApplications.md
Last active August 24, 2018 13:18
A Docker Template for Spring Boot Applications

A Docker Template for Spring Boot Applications

  1. Create the Dockerfile in the project root directory using the template below.
  2. Add properties and plugin to your pom.xml file using the template below.
  3. Build the image using mvn package and push to Docker Hub using mvn deploy.
@jeromy-vandusen-obs
jeromy-vandusen-obs / PersistentMultiContainerWebAppsInAzure.md
Last active August 13, 2018 21:01
Persistent Multi-Container Web Apps in Azure

Persistent Multi-Container Web Apps in Azure

This documents how to deploy multiple Docker container images to Azure as a Web App for Containers App Service with persistent storage. The example will demonstrate deploying Jenkins with an Nginx acting as a reverse proxy. The Nginx proxy will be provided by this image, which is an Nginx image configured to reverse proxy a web application running on port 8080.

Create Resources

You will need to create a Resource Group and an App Service Plan. For this example, I will create a Resource Group called