# Run kubectl commands inside here
# e.g. kubectl get all
> 
> helm repo add rancher-stable https://releases.rancher.com/server-charts/latest
"rancher-latest" has been added to your repositories
> 
> helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "rancher-stable" chart repository
Update Complete. ⎈Happy Helming!⎈
> 
> helm upgrade rancher rancher-stable/rancher --namespace cattle-system --set hostname=rancher.my.org --set bootstrapPassword=P@55w0rdR00t
Starting delete for "bootstrap-secret" Secret
creating 1 resource(s)
checking 8 resources for changes
Patch ServiceAccount "rancher" in namespace cattle-system
Created a new ConfigMap called "rancher-config" in cattle-system

Patch ClusterRoleBinding "rancher" in namespace 
Patch Service "rancher" in namespace cattle-system
Patch Deployment "rancher" in namespace cattle-system
Patch Ingress "rancher" in namespace cattle-system
Patch Issuer "rancher" in namespace cattle-system
Created a new PriorityClass called "rancher-critical" in 

Release "rancher" has been upgraded. Happy Helming!
NAME: rancher
LAST DEPLOYED: Sun Feb 18 03:47:19 2024
NAMESPACE: cattle-system
STATUS: deployed
REVISION: 2
TEST SUITE: None
NOTES:
Rancher Server has been installed.

NOTE: Rancher may take several minutes to fully initialize. Please standby while Certificates are being issued, Containers are started and the Ingress rule comes up.

Check out our docs at https://rancher.com/docs/

If you provided your own bootstrap password during installation, browse to https://rancher.my.org to get started.

If this is the first time you installed Rancher, get started by running this command and clicking the URL it generates:

```
echo https://rancher.my.org/dashboard/?setup=$(kubectl get secret --namespace cattle-system bootstrap-secret -o go-template='{{.data.bootstrapPassword|base64decode}}')
```

To get just the bootstrap password on its own, run:

```
kubectl get secret --namespace cattle-system bootstrap-secret -o go-template='{{.data.bootstrapPassword|base64decode}}{{ "\n" }}'
```


Happy Containering!
> 

Leave a Reply

Your email address will not be published. Required fields are marked *