Documentation ¶
Overview ¶
Package deploy offers helpers for deploying applications in a cluster
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExposeApp ¶
func ExposeApp( k8s kubernetes.Kubernetes, namespace string, pod corev1.Pod, replicas int, svc corev1.Service, port intstr.IntOrString, timeout time.Duration, ) error
ExposeApp deploys a number of replicas of a pod in a namespace and exposes them as a service in a cluster The ingress routes request that specify the service's name as host to this service.
func RunPod ¶
func RunPod(k8s kubernetes.Kubernetes, ns string, pod corev1.Pod, timeout time.Duration) error
RunPod creates a pod and waits it for be running
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.