Skip to content

amirhnajafiz-teaching/kubernetes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes

In this example we are going to deploy a full app (front-end and back-end) on kubernetes. In order to do this, first connect to a kuber cluster (you can use minikube, kind, or k3s). After that you can deploy this app using the following kubernetes manifests.

Docker Image

Front-end application docker image:

amd64

docker pull amirhossein21/sample-nginx:v0.1.5

arm64

docker pull amirhossein21/sample-nginx:v0.1.6

Back-end application docker image:

amd64

docker pull amirhossein21/sample-http:v0.1.2

arm64

docker pull amirhossein21/sample-http:v0.1.3

Configmap

apiVersion: v1
kind: ConfigMap
metadata:
  name: http-service-configs
data:
  message: 'You are connected!'

Deployment

Get deployment manifests from here.

Service

Get service manifests from here.