Difference between revisions of "Helm install yourapp ."

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} {{helm install}}")
Tags: Mobile web edit, Mobile edit
 
Tags: Mobile web edit, Mobile edit
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
  
 +
[[helm install]] yourapp .
 +
NAME: yourapp
 +
LAST DEPLOYED: Fri Mar 24 17:39:40 2023
 +
NAMESPACE: default
 +
STATUS: deployed
 +
REVISION: 1
 +
NOTES:
 +
1. Get the application URL by running these commands:
 +
  export POD_NAME=$(kubectl get pods --namespace default -l
 +
"app.kubernetes.io/name=instance- manager,app.kubernetes.io/instance=yourapp" -o jsonpath=" {.items[0].metadata.name}")
 +
  export CONTAINER_PORT=$(kubectl get pod --namespace default
 +
$POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
 +
  echo "Visit http://127.0.0.1:8080 to use your application"
 +
  kubectl --namespace default port-forward $POD_NAME
 +
8080:$CONTAINER_PORT
  
{{helm install}}
+
== Related ==
 +
* <code>[[helm create]]</code>
 +
 
 +
== See also ==
 +
* {{helm install}}
 +
 
 +
[[Category:Helm]]

Latest revision as of 13:50, 24 March 2023


helm install yourapp .
NAME: yourapp
LAST DEPLOYED: Fri Mar 24 17:39:40 2023
NAMESPACE: default
STATUS: deployed
REVISION: 1
NOTES:
1. Get the application URL by running these commands:
  export POD_NAME=$(kubectl get pods --namespace default -l 
"app.kubernetes.io/name=instance- manager,app.kubernetes.io/instance=yourapp" -o jsonpath=" {.items[0].metadata.name}")
  export CONTAINER_PORT=$(kubectl get pod --namespace default 
$POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
  echo "Visit http://127.0.0.1:8080 to use your application"
  kubectl --namespace default port-forward $POD_NAME 
8080:$CONTAINER_PORT

Related[edit]

See also[edit]

Advertising: