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.
Front-end application docker image:
docker pull amirhossein21/sample-nginx:v0.1.5docker pull amirhossein21/sample-nginx:v0.1.6Back-end application docker image:
docker pull amirhossein21/sample-http:v0.1.2docker pull amirhossein21/sample-http:v0.1.3apiVersion: v1
kind: ConfigMap
metadata:
name: http-service-configs
data:
message: 'You are connected!'Get deployment manifests from here.
Get service manifests from here.