We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a55cab commit 43f29b2Copy full SHA for 43f29b2
main.go
@@ -13,6 +13,17 @@ import (
13
14
func main() {
15
log.SetFormatter(&log.TextFormatter{ForceColors: true})
16
+ log.SetOutput(colorable.NewColorableStderr())
17
+ msg := `
18
+aks-engine is deprecated for Azure public cloud customers. Learn more at:
19
+ https://github.com/Azure/aks-engine#project-status
20
+
21
+Please consider using Azure Kubernetes Service (AKS) for managed Kubernetes:
22
+ https://azure.microsoft.com/services/kubernetes-service/
23
+or Cluster API Provider Azure (CAPZ) for self-managed Kubernetes:
24
+ https://capz.sigs.k8s.io/
25
+`
26
+ log.Warningf("\u001b[33m%s\u001b[0m", msg)
27
log.SetOutput(colorable.NewColorableStdout())
28
if err := cmd.NewRootCmd().Execute(); err != nil {
29
os.Exit(1)
0 commit comments