Google Kubernetes Engine: Running a MongoDB Database in Kubernetes with StatefulSets
Overview Kubernetes is an open source container orchestration tool that handles the complexities of running containerized applications. You can run Kubernetes applications with Kubernetes Engine—a Google Cloud computing service that offers many different customizations and integrations. In this lab, you will get some practical experience with Kubernetes by learning how to set up a MongoDB database with […]
Google Cloud: Working with Google Kubernetes Engine Secrets and ConfigMaps
In this lab, you set up configuration information, both encrypted and unencrypted. Encrypted configuration information is stored as secrets. Unencrypted configuration information is stored as ConfigMaps. This approach avoids hard coding such information into code bases. Credentials (like API keys) that belong in secrets should never travel inside code repositories like GitHub (unless they are […]
Google Cloud: Configuring Persistent Storage for Google Kubernetes Engine
PersistentVolumes are storage that is available to a Kubernetes cluster. PersistentVolumeClaims enable Pods to access PersistentVolumes. Without PersistentVolumeClaims Pods are mostly ephemeral, so you should use PersistentVolumeClaims for any data that you expect to survive Pod scaling, updating, or migrating. In this lab, you learn how to perform the following tasks: Create manifests for PersistentVolumes […]
Google Cloud: Configuring Private Kubernetes Cluster
In this lab, you will create a private cluster, and add an authorized network for API access to it. In this lab, you learn how to perform the following tasks: Create and test a private cluster Configure a cluster for authorized network master access Task 1. Create a private cluster In this task, you create […]
Google Cloud: Deploying Jobs on Google Kubernetes Engine
In this lab, you define and run Jobs and CronJobs. In GKE, a Job is a controller object that represents a finite task. Jobs manage a task as it runs to completion, rather than managing an ongoing desired state such as the maintaining the total number of running Pods. CronJobs perform finite, time-related tasks that run […]
Google Cloud: Upgrading Google Kubernetes Engine Clusters
In this lab, you will upgrade a GKE cluster using the Google Cloud Console. Task 1. Deploy a GKE cluster In this task, you use Google Cloud Console to deploy a GKE cluster running a Kubernetes version that is not the most recent release. You will upgrade this cluster to a more recent release in […]
Docker Swarm: Performing Rolling Upgrade of a Service
As per business requirement, we might want to perform rolling updates to our services for configuration changes and new Docker Image versions without any downtime. In this part of the tutorial, we will deploy a service based on the Redis 3.0.6 container tag. Then we will upgrade the service to use the Redis 3.0.7 container […]
Docker Swarm: Container Orchestration Using Docker Swarm
Introduction A swarm consists of multiple Docker hosts that run in swarm mode and act as managers (to manage membership and delegation) and workers (which run swarm services). A given Docker host can be a manager, a worker, or perform both roles. When Docker is running in swarm mode, you can still run standalone containers on any […]
Google Cloud: Deploying Apps using Git and Kubernetes Engine
Google Kubernetes Engine (GKE) provides a managed environment for deploying, managing, and scaling your containerized applications using Google infrastructure. The GKE environment consists of multiple machines (specifically, Compute Engine instances) grouped together to form a cluster. In this lab, we will download a sample app from GitHub and learn how to deploy applications to Kubernetes Engine. Download a sample app from […]
Kubernetes: Working with Pods, Namespaces, Labels and Scaling Up / Down your Deployments
While My previous Tutorial “Kubernetes: Configuring Kubernetes Cluster” Provides detailed Information about how to set up the Kubernetes cluster, In this article, we are going to discuss Pods, Namespaces, Labels, and Scaling Up / Down your Deployments. Let’s discuss each topic one by one in detail: Pods: Pods are the smallest, most basic deployable objects in Kubernetes. […]