Skip to content

Knative

Basic actions

List services:

kubectl -n $NAMESPACE get ksvc

Relaunche an initialisation of a service:

kubectl -n $NAMESPACE patch ksvc $SERVICE_NAME --type=merge -p '{"spec": {"template": {"metadata": {"annotations": {"force-redeploy": "'$(date +%s)'"}}}}}'