<p>I am using <strong>container Probes</strong> to check the health of the application running inside the container within kubernetes pod. For now my example pod config looks like,</p>

<pre><code>"spec":{
   "containers":[
      {
        "image":"tomcat",
        "name":"tomcat",
        "livenessProbe":{
           "httpGet":{
              "port": 80
            },
            "initialDelaySeconds": 15,
            "periodSeconds": 10
        }
      }
   ]
}
</code></pre>

<p>In my case, I need to monitor two ports for the same container. <strong>80</strong> and <strong>443</strong>. But I am unable to find a method to provide both the ports for same container in the config file. Is there an alternate way of doing this?</p>

<p>If you have curl / wget on the container you could just run a container exec healthcheck, and do something like <code>curl localhost:80 &amp;&amp; curl localhost:443</code>.</p>
