mbigras / terratest-working-session

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terratest-working-session/test

Automatically test a small python web application deployed to kubernetes.

Overview

Welcome! This directory contains terratest code for automatically testing a small python web application deployed to kubernetes.

This tutorial was adapted from the Gruntwork infrastructure-as-code-testing-talk repository and Automated Testing for Terraform, Docker, Packer, Kubernetes, and More presentation. Credit and license information is in LICENSE.txt

Quickstart

cd test
go test -v -timeout 15m -run '^TestDockerKubernetesUnit$'

Other directories

  • app - contains a small python web application for testing
  • kubernetes - contains the kubernetes configuration to deploy the hello-world-app to Kubernetes and expose it via a LoadBalancer
  • test - contains the terratest golang code to automatically test a small python web application deployed to kubernetes

About

License:MIT License


Languages

Language:Go 62.4%Language:Makefile 14.8%Language:Python 14.3%Language:Dockerfile 4.8%Language:Shell 3.8%