$ VERSION=<tag> DOCKER_REGISTRY=<registry> make docker-push
- Update
deploy.yaml
with the pushed image name.
First generate a self-signed key and certificate that the server & client can use for TLS.
$ make keys
Create the TLS secrets.
$ kubectl create secret tls python-https-test-client-certs --key /tmp/client.key --cert /tmp/client.crt
$ kubectl create secret tls python-https-test-server-certs --key /tmp/server.key --cert /tmp/server.crt
Deploy client & server.
$ kubectl apply -f deploy.yaml
Based on https://github.com/pixie-io/pixie-demos/tree/main/openssl-tracer/ssl_client_server