Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Please apply Kubernetes plugin in QB12 to QB8. #4407

tung.nh1 ·

Dear @robinshen.
I see QB12 (QB-3761: Add support for Kubernetes cloud profile on managed clusters).
It has the pod customization function I need.
Could you help me add it to QB8 ?
Thank you.

  • replies 11
  • views 747
  • stars 0
robinshen ADMIN ·

QB8 is pretty old, and is out of maintenance. Please consider upgrading to latest version.

tung.nh1 ·

I integrating Kubernets plugin to QB8, but it have some bug:

com.pmease.quickbuild.plugin.cloud.kubernetes/src/com/pmease/quickbuild/plugin/cloud/kubernetes/KubernetesNodeLauncher.java:325: error: incompatible types: Map<Serializable,Serializable> cannot be converted to Map<Object,Object>

Do you have solution for it ?
And If possible Please apply it to QB8.

robinshen ADMIN ·

Sorry this plugin is not compatible with QB8. We will not backport new features back into old version. Sorry for that.

tung.nh1 ·

why it is not compare with QB8 ?
And Are you solution integrate it with QB8 ? Currently my company only use QB8 :((.

robinshen ADMIN ·

Since it relies on other changes delivered after QB8. You will need to modify the source and adapt to QB8. Just copy the source into QB8, and fix any compilation errors there.

tung.nh1 ·

@robinshen
I copied source from QB12 to QB8 and fix all error but when I compare it show error

com.pmease.quickbuild.plugin.cloud.kubernetes/src/com/pmease/quickbuild/plugin/cloud/kubernetes/KubernetesNodeLauncher.java:325: error: incompatible types: Map<Serializable,Serializable> cannot be converted to Map<Object,Object>

It can not convert from Serializable to Object. Do you have solution for them ?

robinshen ADMIN ·

You may add the object to map one by one instead of using newLinkedHashMap.

tung.nh1 ·

Dear@robinshen
I have a question,
Do we need to install K8S on the server containing the source of QB?

robinshen ADMIN ·

That is not necessary. Only need to install on QB server at runtime.

tung.nh1 ·
Capture.PNG When I run test launch now it show error, I checked in my server it have not /usr/local/bin/kubect so I think we need install K8S. And Which path should I enter? QBM or K8S Master - " Path to kubectl Utility " I think kubectl is running on K8S master. So, that path is kubectl path of K8S Master. "Path to kubectl Utility" is not apply to QB with new plug-in, How can I use it ?
robinshen ADMIN ·

You will need to have kubectl installed on QB server, and setup QB k8s plugin to point to the kubectl binary. Also make sure you can run this command successfully to make sure that it is connecting to a running cluster:

kubectl cluster-info