Questions tagged [kubernetes-testing]

1 questions
2
votes
1 answer

Where is the discoveryfake defined in k8s discovery interface?

While I'm reading how to test on k8s with the fake client on this link, I noticed this function, which, IIUC, assigns a faked server version to the faked k8s cluster. k8s.clientset.Discovery().(*discoveryfake.FakeDiscovery).FakedServerVersion =…
Mike
  • 1,841
  • 2
  • 18
  • 34