This repository shows you different Kubernetes setups with ivy.
All samples are based on the official Axon Ivy Engine Docker Image.
Switch in a directory of your choice
cd ivy
To run these examples you first have to run Kustomize:
kubectl kustomize --load-restrictor="LoadRestrictionsNone" base > kubernetes.yaml
This gathers all the *.yaml
setup files in the base
directory and combines them into one single kubernetes.yaml
file.
Create and start the kubernetes setup
kubectl apply -f kubernetes.yaml
Afterwards the Axon Ivy Engine is available under http://localhost:8080 or via an Ingress under http://kubernetes.docker.internal/ Stop and delete the kubernetes setup
kubectl delete -f kubernetes.yaml
Some Kubernetes samples are prepared for additional environments or features. These samples have an overlays
directory
and one or multiple sub directories with the additional environment or features. To create a kubernetes.yaml for those
environment or feature use the following command:
kubectl kustomize --load-restrictor="LoadRestrictionsNone" overlays/xyz > kubernetes.yaml
If you have another type of environment or feature in your Kubernetes Cluster, for which no overlay is available, you might
have to adjust the *.yaml
files of the base
directory accordingly.
Some samples are prepared to use a NGNIX Ingress.
These samples have a overlays/nginx-ingress
sub directory.
To run the samples with the Ingress you need to:
-
Install the NGNIX Ingress:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.1/deploy/static/provider/cloud/deploy.yaml
-
Run kustomize with the overlays/nginx-ingress directory
kubectl kustomize --load-restrictor="LoadRestrictionsNone" overlays/nginx-ingress > kubernetes.yaml
-
Create and start the kubernetes setup
kubectl apply -f kubernetes.yaml
Some samples are prepared to run on AWS with an AWS Load Balancer Controller installed on your Amazon EKS Kubernetes Cluster.
These samples have a overlays/aws-load-balancer
sub directory.
To run the samples with the AWS Load Balancer Controller you need to:
-
Install AWS Load Balancer Controller. See AWS documentation.
-
Run kustomize with the overlay/aws-load-balancer
kubectl kustomize --load-restrictor="LoadRestrictionsNone" overlays/aws-load-balancer > kubernetes.yaml
-
Create and start the kubernetes setup
kubectl apply -f kubernetes.yaml
All these samples are shipped with a limited demo license. You are able to run the portal application.
Also have a look at our docker samples