Deploying functions
You have a Docker daemon on your local machine. This is already provided if you have used the Quickstart installation.
You have access to a container registry and are able to push images to this registry.
Procedure
funckn func
Deploy the function by running the command inside the project directory:
kn func deploy --registry <registry>
Expected output
You can verify that your function has been successfully deployed by using the invoke
command and observing the output:
Expected output
Received response
User-Agent: Go-http-client/1.1
Content-Length: 25
Accept-Encoding: gzip
X-Request-Id: 9e351834-0542-4f32-9928-3a5d6aece30c
Forwarded: for=10.244.0.15;proto=http
X-Forwarded-For: 10.244.0.15, 10.244.0.9
X-Forwarded-Proto: http