This is an advanced example showing a configuration of k8sTicket with two different applications. The deployed example applications are GoldenMutagenesisWeb and MetFamily in the namespace "example".
This yaml sets up the RBAC for k8sTicket's Kubernetes component. As you can see k8sTicket has all privileges on Pods, it is allowed to get, watch and list Deployments and also to get ObjectMetaData.
This will deploy k8sTicket in the example namespace, waiting for other Deployments.
Creates the service definition for k8sTicket, including the port 9001 for the GoldenMutagenesisWeb application and port 9002 for MetFamily.
This will deploy GoldenMutagenesisWeb and configure it for the use with k8sTicket.
This will deploy MetFamily and configure it for the use with k8sTicket.
Note: We used the Label ipb-halle.de/k8sticket.deployment.app.name: gmweb/metfam
as selector definition for k8s. You can also use your own selector, for example when you want to change the application name afterwards (The selector field is immutable in API version apps/v1).
This defines the ingress specification for GoldenMutagenesisWeb and MetFamily delivered by k8sTicket. Please adjust the host setting according to your DNS. Finally MetFamily will be available at /metfam and GoldenMutagenesis at /gmweb behind your k8s ingress reverse proxy.