/hab-web-example

Primary LanguagePythonApache License 2.0Apache-2.0

Webserver deployment example using Habitat in HPE OneSphere environment

This repository is associated with a blog post that outlines steps for deploying a Nginx Habitat package on a public cloud VM and then deploying the same package on a Kubernetes cluster.

Here is a brief description of different sections included:

1- web-server-package

Nginx webserver packaged with Habitat. Uses core/nginx as dependency and serves a simple webpage on port 80 when installed

2- web-server-recipe

A Chef recipe to install the Habitat package for Nginx

3- vm-install

A Python script example that deploys an AWS based VM in HPE OneSphere using API calls, deploys the Habitat package for Nginx webserver using the Chef recipe

4- k8s-install

A manifest file used to deploy the Nginx Habitat pakage on a Kubernetes cluster