Select Page

Jenkins pipeline for Kubernetes environment

Jenkins pipeline for Kubernetes How Jenkins pipeline should look for Kubernetes? There need to use just simple blocks where the declaring agent should be executed and what image we want to use. Nodes can be defined in a pipeline and then used, however, default...

Deploy HA Vault & Consul cluster on AWS environment

HA cluster Vault with Consul on AWS In this article, we’ll deploy Vault with Consul as store backend on AWS. Vault using as manager of your secrets (passwords, tokens, secret data). Also, Vault provides a secret way to store and use this data. Consul used as...

Kubernetes Exercise #5: Deployments

Exercise InstructionsSolution Here is some yaml for an nginx deployment: apiVersion: apps/v1beta2 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 template: metadata: labels: app: nginx spec: containers: - name:...

Kubernetes Practice Exam

Exercise InstructionsSolution 1. Create a job that calculates pi to 2000 decimal points using the container with the image named perl and the following entry point to the container: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"] Once the job has completed, save...

Kubernetes Exercise #3: Deploy a Pod

Exercise InstructionsSolution Here is some yaml for an nginx deployment: apiVersion: apps/v1beta2 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 template: metadata: labels: app: nginx spec: containers: - name:...

Kubernetes Exercise #2: Deploy a Pod

Exercise InstructionsSolution Pods usually represent running applications in a Kubernetes cluster.  Here is an example of some yaml which defines a pod: apiVersion: v1 kind: Pod metadata: name: alpine namespace: default spec: containers: - name: alpine image: alpine...

Kubernetes Exercise #1: Run a Job

Exercise InstructionsSolution Applications that run to completion inside a pod are called “jobs.”  This is useful for doing batch processing. Most Kubernetes objects are created using yaml. Here is some sample yaml for a job which uses perl to calculate pi...

AWS Certified SysOps Administrator – How to prepare

How to pass AWS SysOps Administrator – Associate exam In this article, I’ll give you some advice that can be useful if you want to successful pass exam and be a Certified specialist. Unfortunately, there no unique way of how to achieve this. Every...