Questions tagged [fabric8-kubernetes-client]

19 questions
0
votes
0 answers

How to figure out if there is only 100mi of course space left in the names page.. I have access to KubernetesClient object

How to get the limits.cpu value from kubernetesClient object. I need to check the cpu quota before creating a new pod in kubernetes. (JAVA) I came across Client.top.node... but I need some equivalent of Kubectl describe quota Basic ask is to check…
0
votes
1 answer

fabric8 v6.1.1 Failure at creating Custom Resource with POST call Resulting in Not Found

New to fabric8 K8S client library. Recently was trying to create a custom resource object using fabric8 (v6.1.1) and got Not Found Message at the POST Call internally. Can list on the CRD client on which this POST is…
0
votes
1 answer

Fabric8: Mock Kubernetes Server doesn't actually create a resource without 'expect' set

My expectation is that the annotation @EnableKubernetesMockClient, enables the KubernetesMockServer in CRUD mode, which means, I don't have to mock the PUT operations through API. With that expectation I wrote the following…
0
votes
0 answers

Fabric8 kubernetes client custom resource watch receives old/obsolete data

I'm working on k8s custom resource upgrade. new resource: { spec: {}, status: { extraField: x }} old resource: { spec: {}, status: {}} new resource was deployed in the k8s cluster but due to some reason I had to rollback to old resource. The…
Ruwanka De Silva
  • 3,555
  • 6
  • 35
  • 51
1
2