Google Cloud: Introduction to Artifact Registry
Overview Artifact Registry provides the same container management features as Container Registry and includes additional features and benefits:Additional artifact formats You can create repositories for the following artifact formats: Container images: Docker, Helm Language packages: Java, Node.js, Python OS packages (Preview): Debian, RPM Regional repositories Container Registry only provides multi-regional registry hosts. Artifact Registry provides both regional and multi-regional registry hosts. Multiple, separate repositories […]
Docker: Docker Cheat Sheet
A Docker cheat sheet is a set of notes used for quick reference while using Docker in the real world. Below is the Docker cheat sheet that includes an extensive list of Docker commands. You can use it as a quick reference guide when working with Docker. Docker Basic Commands COMMANDS DESCRIPTIONS systemctl start docker Start Docker service systemctl restart […]
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: Introduction to Container Registry
Overview Google Container Registry is a private container image registry that runs on Google Cloud’s reliable, fast, and secure infrastructure. You can access Container Registry through secure HTTPS endpoints, which allow you to push, pull, and manage images from any system, VM instance, or your own hardware. Additionally, you can use the Docker credential helper command-line tool […]
Google Cloud: Introduction to Cloud Run
What is a GCP Cloud Run? Cloud Run is a GCP service provided which allows you to run your stateless HTTP containers without worrying about the provisioning of machines. In Cloud Run, you begin from a “container image” to a fully managed application which auto-scales with requests using a single command. You only pay when […]
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 […]
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 […]