k8 by examples
  • k8
  • k8-byexamples-monorepo
  • AWS to GCP Proxy
  • Ingress + TLS Termination
  • Docker
  • HAproxy
  • Troubleshooting
  • Windows
  • Commands
  • Kubernetes Specs
    • Namespaces
    • Deployments
    • InitContainers
    • Ingress
    • Services
    • Storage
      • PersistentVolumeClaims
      • StorageClass
  • Tools
    • kubectl
      • Credentials
    • Port Scanning
  • Resources
    • Curated Resources List
    • Community
    • Contact Me
    • Ingress Controller + LetsEncrypt
  • K8-BYEXAMPLES
    • IngressController+LetsEncrypt
Powered by GitBook
On this page
  1. Tools

Port Scanning

kubectl run --image=appsoa/docker-alpine-nmap --rm -it nm -- \
            -Pn -p9200,9300 elasticsearch.es elasticsearch-discovery.es
Starting Nmap 7.40 ( https://nmap.org ) at 2018-02-03 16:54 UTC

Nmap scan report for elasticsearch.es (10.15.248.94)
Host is up (0.0013s latency).

rDNS record for 10.15.248.94: elasticsearch.es.svc.cluster.local

PORT     STATE    SERVICE
9200/tcp open     wap-wsp
9300/tcp filtered vrace

Nmap scan report for elasticsearch-discovery.es (10.15.252.251)
Host is up (0.00018s latency).

rDNS record for 10.15.252.251: elasticsearch-discovery.es.svc.cluster.local

PORT     STATE    SERVICE
9200/tcp filtered wap-wsp
9300/tcp open     vrace

Nmap done: 2 IP addresses (2 hosts up) scanned in 1.41 seconds
PreviousCredentialsNextCurated Resources List

Last updated 6 years ago