You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exit.Error(errors.Append(err, fmt.Sprintf("\n\nyou can attempt to resolve this issue and configure your cli environment by running `cortex cluster info --configure-env %s`", _flagClusterGCPUpEnv)))
@@ -238,6 +244,16 @@ var _clusterGCPDownCmd = &cobra.Command{
@@ -248,7 +264,6 @@ var _clusterGCPDownCmd = &cobra.Command{
248
264
prompt.YesOrExit(fmt.Sprintf("your cluster named \"%s\" in %s (zone: %s) will be spun down and all apis will be deleted, are you sure you want to continue?", *accessConfig.ClusterName, *accessConfig.Project, *accessConfig.Zone), "", "")
ifstrings.Contains(errors.Message(err), "has no network named \"default\"") {
538
+
err=errors.Append(err, "\n\nyou can specify a different network be setting the `network` field in your cluster configuration file (see https://docs.cortex.dev)")
Message: fmt.Sprintf("cannot deploy from your %s directory - when deploying your API, cortex sends all files in your project directory (i.e. the directory which contains cortex.yaml) to your cluster (see https://docs.cortex.dev/v/%s/); therefore it is recommended to create a subdirectory for your project files", genericDirName, consts.CortexVersionMinor),
out=$(kubectl get pods 2>&1|| true);if [[ "$out"==*"must be logged in to the server"* ]];thenecho"error: your aws iam user does not have access to this cluster; to grant access, see https://docs.cortex.dev/v/${CORTEX_VERSION_MINOR}/";exit 1;fi
out=$(kubectl get pods 2>&1|| true);if [[ "$out"==*"must be logged in to the server"* ]];thenecho"error: your iam user does not have access to this cluster";exit 1;fi
out=$(kubectl get pods 2>&1|| true);if [[ "$out"==*"must be logged in to the server"* ]];thenecho"error: your aws iam user does not have access to this cluster; to grant access, see https://docs.cortex.dev/v/${CORTEX_VERSION_MINOR}/";exit 1;fi
out=$(kubectl get pods 2>&1|| true);if [[ "$out"==*"must be logged in to the server"* ]];thenecho"error: your iam user does not have access to this cluster";exit 1;fi
out=$(kubectl get pods 2>&1|| true);if [[ "$out"==*"must be logged in to the server"* ]];thenecho"error: your aws iam user does not have access to this cluster; to grant access, see https://docs.cortex.dev/v/${CORTEX_VERSION_MINOR}/";exit 1;fi
out=$(kubectl get pods 2>&1|| true);if [[ "$out"==*"must be logged in to the server"* ]];thenecho"error: your aws iam user does not have access to this cluster; to grant access, see https://docs.cortex.dev/v/${CORTEX_VERSION_MINOR}/";exit 1;fi
31
31
32
32
kubectl get -n=default configmap cluster-config -o yaml >> cluster_configmap.yaml
0 commit comments