APIServer address of the cluster. Default to "https://kubernetes.default.svc.cluster.local:443"
ttyImage(string)
TTY Image Name.
replicas(int32)
Number of desired pods in Deployment.
ingressType(string)
Ingress Type, nginx. Default to nginx.
Usage
run kubectl apply terminal.yaml
run kubectl get terminal terminal-name -o template --template={{.status.domain}} to get terminal address.
visit terminal address.
Keep terminal alived
Client should regularly update the lastUpdateTime in annotations to keep the terminal alived. The Cluster will delete the terminal if client does not update the annotations after the time that specified in keepalived filed in TerminalSpec.
The lastUpdateTime follows the RFC3339 format.
Log
The log module that terminal controller uses is "sigs.k8s.io/controller-runtime/pkg/log", which is the default log module of kubebuilder.