sion: v1
  - name: v2
    labels:
      version: v2
EOF
</code></pre><p>Now all traffic goes to the <code>httpbin:v1</code> service.</p></li><li><p>Send some traffic to the service:</p><pre><code class=language-bash data-expandlinks=true data-outputis=json>$ export SLEEP_POD=$(kubectl get pod -l app=sleep -o jsonpath={.items..metadata.name})
$ kubectl exec -it $SLEEP_POD -c sleep -- sh -c &#39;curl  http://httpbin:8000/headers&#39; | python -m json.tool
{
  &#34;headers&#34;: {
    &#34;Accept&#34;: &#34;*/