crossplane / addon-oam-kubernetes-local

Run OAM workloads on a Kubernetes cluster.
Apache License 2.0
21 stars 15 forks source link

[request] Make invisibility of local docker building/pushing, and remote docker pulling in Kubernetes cluster invisibilly #46

Open zzxwill opened 4 years ago

zzxwill commented 4 years ago

Background

ko is widely used during development and release of Knative components, which can make containers invisible infrastructure: No need to

But ko might not support Dockerfile (see issue please).

kaniko is a tool to build container images from a Dockerfile, inside Kubernetes cluster.

Requirement

The docker image oamdev/core-resource-controller needs to be built for running this project see https://github.com/crossplane/addon-oam-kubernetes-local/blob/master/charts/oam-core-resources/values.yaml#L8 and serve for the helm chart see https://crossplane.io/docs/v0.11/getting-started/run-applications.html.

kubectl create namespace crossplane-system
helm repo add crossplane-alpha https://charts.crossplane.io/alpha
helm install addon-oam-kubernetes-local --namespace crossplane-system crossplane-alpha/oam-core-resources

Proposal

We use tool like ko, kaniko to help image build.

zzxwill commented 4 years ago

The ko community has been considering supporting Dockerfile since last September, but there is still no clear roadmap see here.