mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
commit
d20912c83f
@ -1084,7 +1084,7 @@ def enable_gpu():
|
|||||||
if get_version('kubelet') < (1, 9):
|
if get_version('kubelet') < (1, 9):
|
||||||
hookenv.status_set(
|
hookenv.status_set(
|
||||||
'active',
|
'active',
|
||||||
'Upgrade to snap channel >= 1.9/stable to enable GPU suppport.'
|
'Upgrade to snap channel >= 1.9/stable to enable GPU support.'
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ func TestSampleAPIServer(f *framework.Framework, image string) {
|
|||||||
context := setupServerCert(namespace, "sample-api")
|
context := setupServerCert(namespace, "sample-api")
|
||||||
|
|
||||||
// kubectl create -f namespace.yaml
|
// kubectl create -f namespace.yaml
|
||||||
// NOTE: aggregated apis should generally be set up in there own namespace. As the test framework is setting up a new namespace, we are just using that.
|
// NOTE: aggregated apis should generally be set up in their own namespace. As the test framework is setting up a new namespace, we are just using that.
|
||||||
|
|
||||||
// kubectl create -f secret.yaml
|
// kubectl create -f secret.yaml
|
||||||
secretName := "sample-apiserver-secret"
|
secretName := "sample-apiserver-secret"
|
||||||
@ -267,7 +267,7 @@ func TestSampleAPIServer(f *framework.Framework, image string) {
|
|||||||
|
|
||||||
// Wait for the extension apiserver to be up and healthy
|
// Wait for the extension apiserver to be up and healthy
|
||||||
// kubectl get deployments -n <aggregated-api-namespace> && status == Running
|
// kubectl get deployments -n <aggregated-api-namespace> && status == Running
|
||||||
// NOTE: aggregated apis should generally be set up in there own namespace (<aggregated-api-namespace>). As the test framework
|
// NOTE: aggregated apis should generally be set up in their own namespace (<aggregated-api-namespace>). As the test framework
|
||||||
// is setting up a new namespace, we are just using that.
|
// is setting up a new namespace, we are just using that.
|
||||||
err = framework.WaitForDeploymentComplete(client, deployment)
|
err = framework.WaitForDeploymentComplete(client, deployment)
|
||||||
framework.ExpectNoError(err, "deploying extension apiserver in namespace %s", namespace)
|
framework.ExpectNoError(err, "deploying extension apiserver in namespace %s", namespace)
|
||||||
|
@ -1792,7 +1792,7 @@ func WaitForEndpoint(c clientset.Interface, ns, name string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Context for checking pods responses by issuing GETs to them (via the API
|
// Context for checking pods responses by issuing GETs to them (via the API
|
||||||
// proxy) and verifying that they answer with there own pod name.
|
// proxy) and verifying that they answer with their own pod name.
|
||||||
type podProxyResponseChecker struct {
|
type podProxyResponseChecker struct {
|
||||||
c clientset.Interface
|
c clientset.Interface
|
||||||
ns string
|
ns string
|
||||||
|
Loading…
Reference in New Issue
Block a user