mudash / hab-web-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:Apache License 2.0


Languages

Language:Python 78.1%Language:Ruby 20.1%Language:Shell 1.4%Language:HTML 0.3%