- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for GoRuntime (0.2 sec)
-
pkg/kubelet/kubelet_node_status_test.go
}, { desc: "volumes inuse on node and volumeManager", existingVolumes: []v1.UniqueVolumeName{"vol1"}, existingNode: &v1.Node{ ObjectMeta: metav1.ObjectMeta{Name: testKubeletHostname, Labels: map[string]string{v1.LabelOSStable: goruntime.GOOS, v1.LabelArchStable: goruntime.GOARCH}}, Status: v1.NodeStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 19:23:19 UTC 2024 - 115.8K bytes - Viewed (0) -
pkg/kubelet/sysctl/safe_sysctls.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package sysctl import ( goruntime "runtime" "k8s.io/apimachinery/pkg/util/version" "k8s.io/klog/v2" utilkernel "k8s.io/kubernetes/pkg/util/kernel" ) type sysctl struct { // the name of sysctl name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 19:24:34 UTC 2023 - 2.8K bytes - Viewed (0) -
pkg/kubelet/lifecycle/predicate_test.go
}{ { name: "OS label match", pod: &v1.Pod{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{v1.LabelOSStable: goruntime.GOOS}}}, node: &v1.Node{Spec: v1.NodeSpec{}, ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{v1.LabelOSStable: goruntime.GOOS}}}, expectRejection: false, }, { name: "dummyOS label, but the underlying OS matches",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 23:13:50 UTC 2024 - 14.2K bytes - Viewed (0) -
pkg/volume/flexvolume/probe_test.go
See the License for the specific language governing permissions and limitations under the License. */ package flexvolume import ( "fmt" "path/filepath" goruntime "runtime" "strings" "testing" "github.com/fsnotify/fsnotify" "github.com/stretchr/testify/assert" utilfs "k8s.io/kubernetes/pkg/util/filesystem" "k8s.io/kubernetes/pkg/volume" "k8s.io/utils/exec" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 28 11:14:00 UTC 2023 - 10.5K bytes - Viewed (0) -
pkg/kubelet/kubelet_node_status.go
Name: string(kl.nodeName), Labels: map[string]string{ v1.LabelHostname: kl.hostname, v1.LabelOSStable: goruntime.GOOS, v1.LabelArchStable: goruntime.GOARCH, kubeletapis.LabelOS: goruntime.GOOS, kubeletapis.LabelArch: goruntime.GOARCH, }, }, Spec: v1.NodeSpec{ Unschedulable: !kl.registerSchedulable, }, } osLabels, err := getOSSpecificLabels()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 31.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_test.go
if test.skipOnWindows && goruntime.GOOS == "windows" { // TODO: remove skip once the failing test has been fixed. t.Skip("Skip failing test on Windows.") } actual := toKubeContainerStatus(test.input, cid.Type) assert.Equal(t, test.expected, actual, desc) }) } } func TestToKubeContainerStatusWithUser(t *testing.T) { if goruntime.GOOS == "windows" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go
GitVersion: "42", GitCommit: "34973274ccef6ab4dfaaf86599792fa9c3fe4689", GitTreeState: "Dirty", BuildDate: time.Now().String(), GoVersion: goruntime.Version(), Compiler: goruntime.Compiler, Platform: fmt.Sprintf("%s/%s", goruntime.GOOS, goruntime.GOARCH), } } // TestGracefulShutdown verifies server shutdown after request handler finish. func TestGracefulShutdown(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 23.2K bytes - Viewed (0) -
cmd/kube-scheduler/app/server.go
limitations under the License. */ // Package app implements a Server object for running the scheduler. package app import ( "context" "fmt" "net/http" "os" goruntime "runtime" "github.com/spf13/cobra" utilerrors "k8s.io/apimachinery/pkg/util/errors" utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/apiserver/pkg/authentication/authenticator"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 19:11:24 UTC 2024 - 14.3K bytes - Viewed (0) -
pkg/kubelet/nodestatus/setters.go
}) } node.Status.Images = imagesOnNode return nil } } // GoRuntime returns a Setter that sets GOOS and GOARCH on the node. func GoRuntime() Setter { return func(ctx context.Context, node *v1.Node) error { node.Status.NodeInfo.OperatingSystem = goruntime.GOOS node.Status.NodeInfo.Architecture = goruntime.GOARCH return nil } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 12:12:04 UTC 2024 - 30.5K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager_test.go
See the License for the specific language governing permissions and limitations under the License. */ package userns import ( "errors" "fmt" "os" goruntime "runtime" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 14.6K bytes - Viewed (0)