Search is not available for this dataset
qid
int64
1
10.8k
question
stringlengths
11
62.2k
data
stringclasses
1 value
meta
float64
response
stringlengths
1
55.5M
9,217
Merge pull request #712 from roberthbailey/guestbook Update the guestbook example
2023-08-18
null
null
9,218
Regenerating kubernetes.html
2023-08-18
null
- "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"The desired configuration of the replicationController"</span></span>, - "<span class="hljs-attribute">properties</span>": <span class="hljs-value">{ - "<span class="hljs-attribute">replicas</span...
9,222
Remove dot syntax.
2023-08-18
null
index 462224d2714..7b0142e7282 100644 --- a/pkg/cloudcfg/cloudcfg_test.go +++ b/pkg/cloudcfg/cloudcfg_test.go @@ -13,6 +13,7 @@ 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. */ + pac...
9,227
Refactor apiserver command; move logic to a package for reuse and eventual testing
2023-08-18
null
index f104f994f0f..1f238717b88 100644 --- a/cmd/apiserver/apiserver.go +++ b/cmd/apiserver/apiserver.go @@ -21,17 +21,10 @@ package main import ( "flag" "log" - "math/rand" "net" - "net/http" "strconv" - "time" - "github.com/coreos/go-etcd/etcd" - - "github.com/GoogleCloudPlatform/kubernetes/p...
9,245
Updated cloudconfig.sh output examples Updated cloudconfig.sh output examples to match what the tool currently prints. Added specific gcutil commands to get public IP addresses, and create the firewall rules.
2023-08-18
null
index ef1747bd381..f113ed81935 100644 --- a/examples/guestbook/guestbook.md +++ b/examples/guestbook/guestbook.md @@ -51,45 +51,10 @@ cluster/cloudcfg.sh list /pods You'll see a single redis master pod. It will also display the machine that the pod is running on. -```javascript -Using master: kubernetes-ma...
9,262
Move third_party code under third_party/src so it can be used in $GOPATH.
2023-08-18
null
index eeeecdc805e..d35fe654929 100755 --- a/hack/config-go.sh +++ b/hack/config-go.sh @@ -53,7 +53,7 @@ KUBE_GO_PACKAGE_DIR="${GOPATH}/src/${KUBE_GO_PACKAGE}" fi rm "${PACKAGE_DIR}" >/dev/null 2>&1 || true - ln -s "${THIRD_PARTY_BASE}/${p}" "${PACKAGE_DIR}" + ln -s "${THIRD_PARTY_BASE}/src/${p...
9,219
Merge pull request #126 from jbeda/doc-fix Suggest people verify they can start a VM on GCE.
2023-08-18
null
null
9,220
Suggest people verify they can start a VM on GCE.
2023-08-18
null
index 11bf9daf453..11a44448830 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,14 @@ However, initial development was done on GCE and so our instructions and scripts 1. You need a Google Cloud Platform account with billing enabled. Visit [http://cloud.google.com/console](http://cloud.google.com/consol...
9,221
Merge pull request #125 from brendandburns/dot Remove dot import syntax from cloudcfg.
2023-08-18
null
null
9,223
Merge pull request #123 from ryanwalters/patch-1 Minor edit
2023-08-18
null
null
9,224
Merge pull request #121 from lavalamp/api_long_op Refactor apiserver
2023-08-18
null
null
9,225
Minor edit rewrite -> rewritten
2023-08-18
null
index f645e06d420..32cb525bf72 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -36,7 +36,7 @@ The Kubernetes node design is an extension of the [Container-optimized Google Co Each node runs Docker, of course. Docker takes care of the details of downloading images and running containers. ### Kubelet -The second co...
9,226
Still build and push before running test, even if cluster is already running.
2023-08-18
null
index 81ecb35e644..3c14ff22d29 100755 --- a/hack/e2e-test.sh +++ b/hack/e2e-test.sh @@ -32,12 +32,15 @@ export CLOUDCFG="${KUBE_REPO_ROOT}/cluster/cloudcfg.sh" source "${KUBE_REPO_ROOT}/cluster/util.sh" -if [[ ${ALREADY_UP} -ne 1 ]]; then - # Build a release - $(dirname $0)/../release/release.sh +# Bui...
9,228
consistent filenames
2023-08-18
null
similarity index 100% rename from pkg/apiserver/api_server.go rename to pkg/apiserver/apiserver.go diff --git a/pkg/apiserver/api_server_test.go b/pkg/apiserver/apiserver_test.go similarity index 100% rename from pkg/apiserver/api_server_test.go rename to pkg/apiserver/apiserver_test.go
9,229
Readability improvements.
2023-08-18
null
index 392bcbb6634..f104f994f0f 100644 --- a/cmd/apiserver/apiserver.go +++ b/cmd/apiserver/apiserver.go @@ -20,16 +20,17 @@ package main import ( "flag" - "fmt" "log" "math/rand" + "net" "net/http" + "strconv" "time" "github.com/coreos/go-etcd/etcd" "github.com/GoogleCloudPlatform/...
9,230
Merge pull request #120 from brendanburns/comments Add some documentation
2023-08-18
null
null
9,231
Add some documentation
2023-08-18
null
index b02ac6d5248..74aeb93b44f 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -26,10 +26,12 @@ type ContainerManifest struct { Id string `yaml:"id,omitempty" json:"id,omitempty"` } +// Volume represents a named volume in a pod that may be accessed by any containers in the pod. type V...
9,232
Added godoc link.
2023-08-18
null
index 8465d584b4c..11bf9daf453 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ # Kubernetes - Kubernetes is an open source implementation of container cluster management. [Kubernetes Design Document](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/DESIGN.md) +[![GoDoc](https://god...
9,233
Merge pull request #118 from lavalamp/master Alternative local launch script.
2023-08-18
null
null
9,234
Rename local-up2.sh to local-up-cluster.sh
2023-08-18
null
similarity index 100% rename from hack/local-up2.sh rename to hack/local-up-cluster.sh
9,235
Merge pull request #119 from brendanburns/docs Update the README with a TOC
2023-08-18
null
null
9,236
Update the README with a TOC
2023-08-18
null
index 5817c637fd3..8465d584b4c 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,12 @@ Kubernetes is an open source implementation of container cluster management. ## Kubernetes can run anywhere! However, initial development was done on GCE and so our instructions and scripts are built around that. If you make ...
9,237
Add an alternate local-up experience.
2023-08-18
null
new file mode 100755 index 00000000000..36b1c44e6ec --- /dev/null +++ b/hack/local-up2.sh @@ -0,0 +1,73 @@ +#!/bin/bash + +# Copyright 2014 Google Inc. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License....
9,238
Merge pull request #117 from brendanburns/udp Add udp support, and unit tests to match. Closes #96
2023-08-18
null
null
9,239
gofmt
2023-08-18
null
index 29928b19313..46d8472639b 100644 --- a/pkg/kubelet/kubelet_test.go +++ b/pkg/kubelet/kubelet_test.go @@ -677,17 +677,17 @@ func TestMakePortsAndBindings(t *testing.T) { { ContainerPort: 443, HostPort: 443, - Protocol: "tcp", + Protocol: "tcp", ...
9,240
Add udp support.
2023-08-18
null
index 9923f896335..0167af40310 100644 --- a/pkg/kubelet/kubelet.go +++ b/pkg/kubelet/kubelet.go @@ -274,7 +274,19 @@ func makePortsAndBindings(container *api.Container) (map[docker.Port]struct{}, m exteriorPort := port.HostPort // Some of this port stuff is under-documented voodoo. // See http://stackove...
9,241
Merge pull request #116 from brendanburns/work Added a -verbose flag, and made a message verbose only.
2023-08-18
null
null
9,242
Added a -verbose flag, and made a message verbose only.
2023-08-18
null
index 8b3309c57a6..99380f84da9 100644 --- a/cmd/cloudcfg/cloudcfg.go +++ b/cmd/cloudcfg/cloudcfg.go @@ -46,6 +46,7 @@ var ( authConfig = flag.String("auth", os.Getenv("HOME")+"/.kubernetes_auth", "Path to the auth info file. If missing, prompt the user. Only used if doing https.") json = flag.Bool(...
9,243
Merge pull request #115 from briandorsey/master Update the guestbook sample
2023-08-18
null
null
9,244
fix typo in guestbook URL
2023-08-18
null
index f113ed81935..8ab6e84640c 100644 --- a/examples/guestbook/guestbook.md +++ b/examples/guestbook/guestbook.md @@ -280,6 +280,7 @@ You may need to open the firewall for port 8080 using the [console][cloud-consol ```shell $ gcutil addfirewall --allowed=tcp:8080 --target_tags=kubernetes-minion kubernetes-minion...
9,246
Add hack/build-go.sh to step zero (needed when working from a completely clean install)
2023-08-18
null
index 517b51f857b..ef1747bd381 100644 --- a/examples/guestbook/guestbook.md +++ b/examples/guestbook/guestbook.md @@ -10,6 +10,7 @@ This example assumes that you have forked the repository and [turned up a Kubern $ cd kubernetes $ hack/dev-build-and-up.sh + $ hack/build-go.sh ### Step One: Tu...
9,247
No underscores in variable names. Add option to set hostname at command line.
2023-08-18
null
index f09d7192ca3..8781876bca5 100644 --- a/cmd/controller-manager/controller-manager.go +++ b/cmd/controller-manager/controller-manager.go @@ -27,7 +27,7 @@ import ( "os" "time" - kube_client "github.com/GoogleCloudPlatform/kubernetes/pkg/client" + "github.com/GoogleCloudPlatform/kubernetes/pkg/client" ...
9,248
Merge pull request #110 from jbeda/test-fix Stable comparison of stuff that transits through map.
2023-08-18
null
null
9,249
Merge pull request #112 from brendanburns/master Further error handling when gcloud isn't set up correctly.
2023-08-18
null
null
9,250
Merge pull request #105 from lavalamp/improve_e2e Add a new e2e test; fix some bugs/usability problems
2023-08-18
null
null
9,251
Further error handling when gcloud isn't set up correctly.
2023-08-18
null
index 74bde46c37a..078624053a5 100755 --- a/release/config.sh +++ b/release/config.sh @@ -19,8 +19,18 @@ if [ "$(which gcloud)" == "" ]; then exit 1 fi +if [ -n "$(gcloud auth list 2>&1 | grep 'No credentialed accounts')" ]; then + gcloud auth login +fi + PROJECT=$(gcloud config list project | tail...
9,252
Merge pull request #111 from brendanburns/master Update release config file to check for gcloud.
2023-08-18
null
null
9,253
Updated release config file to check for gcloud.
2023-08-18
null
index 1c394395ae5..74bde46c37a 100755 --- a/release/config.sh +++ b/release/config.sh @@ -14,6 +14,11 @@ # A set of defaults for Kubernetes releases +if [ "$(which gcloud)" == "" ]; then + echo "Couldn't find gcloud in PATH" + exit 1 +fi + PROJECT=$(gcloud config list project | tail -n 1 | cut -f 3 ...
9,254
Stable comparison of stuff that transits through map. There are probably more of these in the codebase. Looks like this happens with the go tip via travis.
2023-08-18
null
index ecd4dd4ea3d..eb0f619c999 100644 --- a/pkg/client/client_test.go +++ b/pkg/client/client_test.go @@ -122,11 +122,8 @@ func TestListPodsLabels(t *testing.T) { fakeHandler.ValidateRequest(t, makeUrl("/pods"), "GET", nil) queryString := fakeHandler.RequestReceived.URL.Query().Get("labels") queryString, _ ...
9,255
Fix --allowed syntax
2023-08-18
null
index b5d6f3684d5..81ecb35e644 100755 --- a/hack/e2e-test.sh +++ b/hack/e2e-test.sh @@ -51,8 +51,7 @@ if [[ ${ALREADY_UP} -ne 1 ]]; then --norespect_terminal_width \\ --project ${PROJECT} \\ --target_tags ${MINION_TAG} \\ - --allowed tcp:80 \\ - --allowed tcp:8080 \\ + --allowed tcp:80,...
9,256
Merge pull request #107 from lavalamp/master Fix error recovery.
2023-08-18
null
null
9,257
Fix error recovery.
2023-08-18
null
index 1428eb77593..3cdd2518609 100644 --- a/pkg/registry/replication_controller.go +++ b/pkg/registry/replication_controller.go @@ -85,9 +85,21 @@ func MakeReplicationManager(etcdClient *etcd.Client, kubeClient client.ClientInt func (rm *ReplicationManager) WatchControllers() { watchChannel := make(chan *etc...
9,258
Merge pull request #106 from jbeda/third-party-move Move third_party code under third_party/src so it can be used in $GOPATH
2023-08-18
null
null
9,259
Fix basic test the other way.
2023-08-18
null
index aa0df6e22d7..aceef0482fd 100755 --- a/cluster/config-test.sh +++ b/cluster/config-test.sh @@ -16,7 +16,7 @@ ZONE=us-central1-b MASTER_SIZE=g1-small MINION_SIZE=g1-small -NUM_MINIONS=3 +NUM_MINIONS=2 # gcloud/gcutil will expand this to the latest supported image. IMAGE=backports-debian-7-wheezy NE...
9,260
Add mac instructions
2023-08-18
null
index 20d44ee92ee..f51251a146c 100755 --- a/hack/e2e-suite/guestbook.sh +++ b/hack/e2e-suite/guestbook.sh @@ -22,7 +22,8 @@ set -e HAVE_JQ=$(which jq) if [[ -z ${HAVE_JQ} ]]; then - echo "Please install jq, e.g.: sudo apt-get install jq" + echo "Please install jq, e.g.: 'sudo apt-get install jq' or, " + ...
9,261
Fix basic e2e test
2023-08-18
null
index bbfe8cef9bb..08bc144f391 100755 --- a/hack/e2e-suite/basic.sh +++ b/hack/e2e-suite/basic.sh @@ -24,7 +24,7 @@ source "${KUBE_REPO_ROOT}/cluster/util.sh" detect-project # Launch a container -$CLOUDCFG -p 8080:80 run dockerfile/nginx 2 myNginx +$CLOUDCFG -p 8080:80 run dockerfile/nginx 3 myNginx # ...
9,263
Add a new e2e test; fix some bugs/usability problems
2023-08-18
null
index 4f231ac8b42..4a7e4b6b229 100755 --- a/cluster/cloudcfg.sh +++ b/cluster/cloudcfg.sh @@ -24,6 +24,6 @@ if [ ! -x $CLOUDCFG ]; then exit 1 fi -detect-master +detect-master > /dev/null $CLOUDCFG -h https://${KUBE_MASTER_IP} $@ diff --git a/hack/e2e-suite/guestbook.sh b/hack/e2e-suite/guestbook.sh...
9,264
Merge pull request #104 from jbeda/proxy-test-fix The Mac is picky about the syntax for listening on ephemeral ports.
2023-08-18
null
null
9,265
The Mac is picky about the syntax for listening on ephemeral ports.
2023-08-18
null
index eaf7aedf6bb..57585a1d3f1 100644 --- a/pkg/proxy/proxier.go +++ b/pkg/proxy/proxier.go @@ -102,7 +102,7 @@ func (proxier Proxier) AddService(service string, port int) error { // For testing on a system with unknown ports used. func (proxier Proxier) addServiceOnUnusedPort(service string) (string, error) { ...
9,266
Merge pull request #102 from brendandburns/errors Make all error strings lower case, for readability.
2023-08-18
null
null
9,267
Merge pull request #76 from gleamglom/api_docs Add more help messages to cloudcfg utility
2023-08-18
null
null