[WIP][RFC] Add k8s-native deployment as an alternative for cri-resmgr#55
[WIP][RFC] Add k8s-native deployment as an alternative for cri-resmgr#55obedmr wants to merge 1 commit intointel:masterfrom
Conversation
|
We've been toying around with ideas not quite unlike this, so I'd like to see a different spin on this: install software (golang-only + metadata, or (golang + scripts)-only + metadata), but do the rest exactly identically as if the whole shebang would have been installed from a native package. That is:
Note that making both cri-resmgr and the CRI runtime socket-activatable and hooking the whole shebang together as a socket-activated chain of daemons could prove to be useful. |
Codecov Report
@@ Coverage Diff @@
## master #55 +/- ##
======================================
Coverage 7.03% 7.03%
======================================
Files 20 20
Lines 2929 2929
======================================
Hits 206 206
Misses 2714 2714
Partials 9 9Continue to review full report at Codecov.
|
|
@klihub thanks for the feedback, please let me know if I got it correctly.
Is my understanding correct? |
@obedmr Yes, this is exactly what I meant. |
|
@klihub I have a quick one, I'm seeing that running |
Currently cri-resmgr mirrors the state of the real CRI socket in its own one until the very first successful connection is established. My guess is that your CRI is not properly up, or you have a misconfiguration of socket paths so cri-resmgr does not find it. That would explain why cri-resmgr is not putting its own socket in place. |
I'm using the exact flags from https://github.com/intel/cri-resource-manager/blob/master/cmd/cri-resmgr/cri-resource-manager.sysconf, is there something missing? |
|
mmm, you know what, could it be the lack of |
We still haven't updated the default behavior, so unless you tell it otherwise cri-resmgr tries to connect to dockershim. So
Kubelet won't start it for you, so you need to either add it to the kubelet service with a separate ExecStart or you need to create a dedicated dockershim.service for it. |
Signed-off-by: Obed N Munoz <obed.n.munoz@intel.com>
|
Closing for the time being. No activity for a few months. Reopen if necessary. |
This is still in progress PR. The idea is to provide an alternative/experimental deployment mechanism for the
cri-resmgr, for development and testing it has been really useful and fast to deploy/use.TODO
deployment.yamlconfigmap.yamlfor custom environment variablesREADME.mdfile for documentationSigned-off-by: Obed N Munoz obed.n.munoz@intel.com