Replacing dollar sign placeholders

This commit is contained in:
LucasSaintarbor
2024-01-16 16:03:50 -08:00
parent 732c354b80
commit 3de3df0772
3 changed files with 22 additions and 22 deletions
@@ -14,10 +14,10 @@ kubectl get pods --all-namespaces
If a pod is not in a `Running` state, you can attempt to find the root cause with the following commands:
- Describe pod: `kubectl describe pod $POD_NAME -n $NAMESPACE`
- Pod container logs: `kubectl logs $POD_NAME -n $NAMESPACE`
- Describe job: `kubectl describe job $JOB_NAME -n $NAMESPACE`
- Logs from the containers of pods of the job: `kubectl logs -l job-name=$JOB_NAME -n $NAMESPACE`
- Describe pod: `kubectl describe pod <pod-name> -n <namespace>`
- Pod container logs: `kubectl logs <pod-name> -n <namespace>`
- Describe job: `kubectl describe job <job-name> -n <namespace>`
- Logs from the containers of pods of the job: `kubectl logs -l job-name=<job-name> -n <namespace>`
## Recovering from Failed Pods
@@ -33,13 +33,13 @@ Fix the problem and run:
```shell
helm upgrade -n cattle-rancher-csp-deployer-system rancher-cloud --create-namespace \
oci://709825985650.dkr.ecr.us-east-1.amazonaws.com/suse/$REPOSITORY/rancher-cloud-helm/rancher-cloud --install \
--version $CHART_VERSION \
--set rancherHostname=$HOST_NAME \
--set rancherServerURL=https://$HOST_NAME \
--set rancherReplicas=$REPLICAS \
--set global.aws.accountNumber=$AWS_ACCOUNT_ID \
--set global.aws.roleName=$ROLE_NAME
oci://709825985650.dkr.ecr.us-east-1.amazonaws.com/suse/<repository>/rancher-cloud-helm/rancher-cloud --install \
--version <chart-version> \
--set rancherHostname=<host-name> \
--set rancherServerURL=https://<host-name> \
--set rancherReplicas=<replicas> \
--set global.aws.accountNumber=<aws-account-id> \
--set global.aws.roleName=<role-name>
```
## Rancher Usage Record Not Found
@@ -8,14 +8,14 @@ To upgrade the deployed Helm chart to the latest version, run the following Helm
```shell
helm upgrade -n cattle-rancher-csp-deployer-system rancher-cloud --create-namespace \
oci://709825985650.dkr.ecr.us-east-1.amazonaws.com/suse/$REPOSITORY/rancher-cloud-helm/rancher-cloud \
--version $UPGRADED_CHART_VERSION \
--set rancherHostname=$HOST_NAME \
--set rancherServerURL=https://$HOST_NAME \
--set rancherReplicas=$REPLICAS \
oci://709825985650.dkr.ecr.us-east-1.amazonaws.com/suse/<respository>/rancher-cloud-helm/rancher-cloud \
--version <upgraded-chart-version> \
--set rancherHostname=<host-name> \
--set rancherServerURL=https://<host-name> \
--set rancherReplicas=<replicas> \
--set rancherIngressClassName=nginx \
--set global.aws.accountNumber=$AWS_ACCOUNT_ID \
--set global.aws.roleName=$ROLE_NAME
--set global.aws.accountNumber=<aws-account-id> \
--set global.aws.roleName=<role-name>
```
To check if the upgraded Helm chart deployed successfully, run the following Helm command:
@@ -46,10 +46,10 @@ kubectl get pods --all-namespaces
If a pod is not in a `Running` state, you can attempt to find the root cause with the following commands:
- Describe pod: `kubectl describe pod $POD_NAME -n $NAMESPACE`
- Pod container logs: `kubectl logs $POD_NAME -n $NAMESPACE`
- Describe job: `kubectl describe job $JOB_NAME -n $NAMESPACE`
- Logs from the containers of pods of the job: `kubectl logs -l job-name=$JOB_NAME -n $NAMESPACE`
- Describe pod: `kubectl describe pod <pod-name> -n <namespace>`
- Pod container logs: `kubectl logs <pod-name> -n <namespace>`
- Describe job: `kubectl describe job <job-name> -n <namespace`
- Logs from the containers of pods of the job: `kubectl logs -l job-name=<job-name> -n <namespace>`
## Rancher Usage Record Not Found