diff --git a/stack_orchestrator/deploy/k8s/deploy_k8s.py b/stack_orchestrator/deploy/k8s/deploy_k8s.py index 53c48ef8..87f79257 100644 --- a/stack_orchestrator/deploy/k8s/deploy_k8s.py +++ b/stack_orchestrator/deploy/k8s/deploy_k8s.py @@ -231,7 +231,10 @@ class K8sDeployer(Deployer): "\nFix: add an explicit `namespace:` override to this " "deployment's spec.yml so it lands in its own " "namespace. For example:\n" - f" namespace: {self.k8s_namespace}-" + f" namespace: {self.k8s_namespace}-\n" + "\n(k8s namespace names must be lowercase alphanumeric " + "plus '-', start and end with an alphanumeric character, " + "≤63 chars.)" ) if not owner: # Legacy namespace (pre-dates this check) or user-created.