Skip to content

Instantly share code, notes, and snippets.

@bitliner
Last active June 28, 2020 09:32
Show Gist options
  • Save bitliner/cc874107672bb55dcce46cf58a14c1c1 to your computer and use it in GitHub Desktop.
Save bitliner/cc874107672bb55dcce46cf58a14c1c1 to your computer and use it in GitHub Desktop.

Revisions

  1. bitliner revised this gist Jun 28, 2020. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion kubernetes.md
    Original file line number Diff line number Diff line change
    @@ -4,4 +4,5 @@

    - `kubectl get pods` - get the name of a deployment or pod
    - `kubectl exec --stdin --tty <POD_NAME> -- /bin/bash` - ssh into the pod
    - `wget ifconfig.me` - get external ip
    - `wget ifconfig.me` - get external ip
    - `whois IP` - get info about the ip
  2. bitliner created this gist Jun 28, 2020.
    7 changes: 7 additions & 0 deletions kubernetes.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # Kubernetes

    ## Get IP of a pod

    - `kubectl get pods` - get the name of a deployment or pod
    - `kubectl exec --stdin --tty <POD_NAME> -- /bin/bash` - ssh into the pod
    - `wget ifconfig.me` - get external ip