intel / intel-device-plugins-for-kubernetes

Collection of Intel device plugins for Kubernetes
Apache License 2.0
38 stars 205 forks source link

Kustomize #254

Closed msivosuo closed 4 years ago

msivosuo commented 4 years ago

Goals:

  1. qat plugin to be deployable with kubectl apply -k qat_plugin/VERSION (VERSION being devel or a release tag)
  2. gpu plugin to be deployable with kubectl apply -k gpu_plugin/..., possibly configurable command line parameters if needed
  3. fpga plugin to be deployable with kubectl apply -k fpga_plugin/..., different kustomizations for different run modes (preprogrammed vs orchestrated)
  4. and support for other plugins (Movidius) as well
askervin commented 4 years ago

More detailed goals:

  1. qat plugin to be deployable with kubectl apply -k qat_plugin/VERSION (VERSION being devel or a release tag)

  2. gpu plugin to be deployable with kubectl apply -k gpu_plugin/..., possibly configurable command line parameters if needed

  3. fpga plugin to be deployable with kubectl apply -k fpga_plugin/..., different kustomizations for different run modes (preprogrammed vs orchestrated)

askervin commented 4 years ago

Reasoning for the work:

mythi commented 4 years ago

@askervin FYI, deployments directly from the repo works:

kubectl apply -k github.com/intel/intel-device-plugins-for-kubernetes.git/deployments/qat_dpdk_app/test-crypto1?ref=master
mythi commented 4 years ago

(VERSION being devel or a release tag)

This may not be necessary since we can already do

$ kubectl kustomize github.com/intel/intel-device-plugins-for-kubernetes.git/deployments/qat_dpdk_app/test-crypto1?ref=release-0.15
$ kubectl kustomize github.com/intel/intel-device-plugins-for-kubernetes.git/deployments/qat_dpdk_app/test-crypto1?ref=master
grahamwhaley commented 4 years ago

I did consider doing the direct-from-URL deploys in the docs updates, which in the case of using the default images and setup would avoid pulling the sources down. But, one change at a time....

askervin commented 4 years ago

PRs contributing to this issue: