Create Kubernetes cluster and deploy service on Kubernetes

In this tutorial we will create a Kubernetes Cluster using Microtica’s infrastructure template and deploy a simple service on Kubernetes.

Below are some of the code snippets used in the video tutorial:

microtica.yaml

steps:
  Clone:
    type: git-clone

  PushDockerImage:
    type: docker-push
    image_name: microtica/hello-world
    registry: dockerhub
    tag: "{{MIC_PIPELINE_EXECUTION_ID}}"

  Deploy:
    type: deploy
    target: kubernetes
    cluster: "{{DEV_CLUSTER}}"
    service: hello-world-service
    branch_filter: master
    tag: "{{MIC_PIPELINE_EXECUTION_ID}}"