diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index 0eb42575432..f87b425e484 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -11429,7 +11429,7 @@ }, "lastTimestamp": { "type": "string", - "description": "the time at which the most recent occurance of this event was recorded" + "description": "the time at which the most recent occurrence of this event was recorded" }, "count": { "type": "integer", @@ -11985,7 +11985,7 @@ }, "hostPath": { "$ref": "v1.HostPathVolumeSource", - "description": "a HostPath provisioned by a developer or tester; for develment use only; see http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath" + "description": "a HostPath provisioned by a developer or tester; for development use only; see http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath" }, "glusterfs": { "$ref": "v1.GlusterfsVolumeSource", diff --git a/cluster/aws/config-default.sh b/cluster/aws/config-default.sh index 5f938b55527..147864b9c63 100644 --- a/cluster/aws/config-default.sh +++ b/cluster/aws/config-default.sh @@ -49,7 +49,7 @@ SERVICE_CLUSTER_IP_RANGE="10.0.0.0/16" # formerly PORTAL_NET CLUSTER_IP_RANGE="${CLUSTER_IP_RANGE:-10.244.0.0/16}" MASTER_IP_RANGE="${MASTER_IP_RANGE:-10.246.0.0/24}" # If set to Elastic IP, master instance will be associated with this IP. -# If set to auto, a new Elastic IP will be aquired +# If set to auto, a new Elastic IP will be acquired # Otherwise amazon-given public ip will be used (it'll change with reboot). MASTER_RESERVED_IP="${MASTER_RESERVED_IP:-}" diff --git a/cluster/aws/config-test.sh b/cluster/aws/config-test.sh index 2a13bbab400..49a1b001628 100755 --- a/cluster/aws/config-test.sh +++ b/cluster/aws/config-test.sh @@ -45,7 +45,7 @@ SERVICE_CLUSTER_IP_RANGE="10.0.0.0/16" # formerly PORTAL_NET CLUSTER_IP_RANGE="${CLUSTER_IP_RANGE:-10.245.0.0/16}" MASTER_IP_RANGE="${MASTER_IP_RANGE:-10.246.0.0/24}" # If set to Elastic IP, master instance will be associated with this IP. -# If set to auto, a new Elastic IP will be aquired +# If set to auto, a new Elastic IP will be acquired # Otherwise amazon-given public ip will be used (it'll change with reboot). MASTER_RESERVED_IP="${MASTER_RESERVED_IP:-}" diff --git a/cluster/aws/util.sh b/cluster/aws/util.sh index 7a19dcb82ee..ae6c5c22678 100644 --- a/cluster/aws/util.sh +++ b/cluster/aws/util.sh @@ -876,7 +876,7 @@ function kube-up { # This is a race between instance start and volume attachment. There appears to be no way to start an AWS instance with a volume attached. # To work around this, we wait for volume to be ready in setup-master-pd.sh - echo "Attaching peristent data volume (${MASTER_DISK_ID}) to master" + echo "Attaching persistent data volume (${MASTER_DISK_ID}) to master" $AWS_CMD attach-volume --volume-id ${MASTER_DISK_ID} --device /dev/sdb --instance-id ${master_id} sleep 10 diff --git a/cluster/common.sh b/cluster/common.sh index 683f55922ee..e42a1b61cd6 100755 --- a/cluster/common.sh +++ b/cluster/common.sh @@ -172,7 +172,7 @@ function get-kubeconfig-bearertoken() { } # Sets KUBE_VERSION variable to the version passed in as an argument, or if argument is -# latest_stable, latest_release, or latest_ci fetches and sets the correponding version number +# latest_stable, latest_release, or latest_ci fetches and sets the corresponding version number # # Args: # $1 version string from command line diff --git a/cluster/gce/util.sh b/cluster/gce/util.sh index 6d5119eb2b9..b41a754a3a5 100755 --- a/cluster/gce/util.sh +++ b/cluster/gce/util.sh @@ -425,7 +425,7 @@ function create-node-template { } # Robustly try to add metadata on an instance. -# $1: The name of the instace. +# $1: The name of the instance. # $2...$n: The metadata key=value pairs to add. function add-instance-metadata { local -r instance=$1 diff --git a/cluster/juju/charms/trusty/kubernetes-master/unit_tests/test_install.py b/cluster/juju/charms/trusty/kubernetes-master/unit_tests/test_install.py index b34748a6766..aa54f369cd3 100644 --- a/cluster/juju/charms/trusty/kubernetes-master/unit_tests/test_install.py +++ b/cluster/juju/charms/trusty/kubernetes-master/unit_tests/test_install.py @@ -39,7 +39,7 @@ class TestInstallHook(): pmock.return_value.write_lines.assert_called_with(['line1', 'line2', 'test1', 'test2']) - def test_update_rc_files_with_nonexistant_path(self): + def test_update_rc_files_with_nonexistent_path(self): """ Test an unhappy path if the bashrc/users do not exist. """ diff --git a/cluster/juju/charms/trusty/kubernetes/hooks/start b/cluster/juju/charms/trusty/kubernetes/hooks/start index d8e63394372..9a5833242a0 100755 --- a/cluster/juju/charms/trusty/kubernetes/hooks/start +++ b/cluster/juju/charms/trusty/kubernetes/hooks/start @@ -3,7 +3,7 @@ set -ex # Start is guaranteed to be called once when after the unit is installed -# *AND* once everytime a machine is rebooted. +# *AND* once every time a machine is rebooted. if [ ! -f $CHARM_DIR/.unit-state ] then diff --git a/cluster/juju/return-node-ips.py b/cluster/juju/return-node-ips.py index 5a6a7955a44..4e5e39c8a94 100755 --- a/cluster/juju/return-node-ips.py +++ b/cluster/juju/return-node-ips.py @@ -16,7 +16,7 @@ import json import sys -# This script helps parse out the private IP addreses from the +# This script helps parse out the private IP addresses from the # `juju run` command's JSON object, see cluster/juju/util.sh if len(sys.argv) > 1: diff --git a/cluster/juju/util.sh b/cluster/juju/util.sh index 7930434ec5a..20c024856b5 100755 --- a/cluster/juju/util.sh +++ b/cluster/juju/util.sh @@ -135,7 +135,7 @@ function sleep-status() { # sleep because we cannot get the status back of where the minions are in the deploy phase # thanks to a generic "started" state and our service not actually coming online until the - # minions have recieved the binary from the master distribution hub during relations + # minions have received the binary from the master distribution hub during relations echo "Sleeping an additional minute to allow the cluster to settle" sleep 60 } diff --git a/cluster/libvirt-coreos/util.sh b/cluster/libvirt-coreos/util.sh index 828adf995ee..07954c5f4dd 100644 --- a/cluster/libvirt-coreos/util.sh +++ b/cluster/libvirt-coreos/util.sh @@ -296,7 +296,7 @@ function kube-push-internal { local) kube-push-local;; *) - echo "The only known push methods are \"release\" to use the relase tarball or \"local\" to use the binaries built by make. KUBE_PUSH is set \"$KUBE_PUSH\"" >&2 + echo "The only known push methods are \"release\" to use the release tarball or \"local\" to use the binaries built by make. KUBE_PUSH is set \"$KUBE_PUSH\"" >&2 return 1;; esac } diff --git a/cluster/mesos/docker/util.sh b/cluster/mesos/docker/util.sh index a181aeffa1c..7592ebbbe9b 100644 --- a/cluster/mesos/docker/util.sh +++ b/cluster/mesos/docker/util.sh @@ -218,7 +218,7 @@ function validate-cluster { echo "Validating ${KUBERNETES_PROVIDER} cluster" 1>&2 # Do not validate cluster size. There will be zero k8s minions until a pod is created. - # TODO(karlkfi): use componentstatuses or equivelent when it supports non-localhost core components + # TODO(karlkfi): use componentstatuses or equivalent when it supports non-localhost core components # Validate immediate cluster reachability and responsiveness echo "KubeDNS: $(cluster::mesos::docker::addon_status 'kube-dns')" diff --git a/cluster/saltbase/salt/kube-addons/kube-addon-update.sh b/cluster/saltbase/salt/kube-addons/kube-addon-update.sh index 174887a6ac5..c04815ff210 100755 --- a/cluster/saltbase/salt/kube-addons/kube-addon-update.sh +++ b/cluster/saltbase/salt/kube-addons/kube-addon-update.sh @@ -25,7 +25,7 @@ # LIMITATIONS # 1. controllers are not updated unless their name is changed # 3. Services will not be updated unless their name is changed, -# but for services we acually want updates without name change. +# but for services we actually want updates without name change. # 4. Json files are not handled at all. Currently addons must be # in yaml files # 5. exit code is probably not always correct (I haven't checked diff --git a/cluster/saltbase/salt/kube-master-addons/init.sls b/cluster/saltbase/salt/kube-master-addons/init.sls index acade6d2440..9ae0a8d3396 100644 --- a/cluster/saltbase/salt/kube-master-addons/init.sls +++ b/cluster/saltbase/salt/kube-master-addons/init.sls @@ -6,7 +6,7 @@ - mode: 755 # Used to restart kube-master-addons service each time salt is run -# Actually, it doens't work (the service is not restarted), +# Actually, it does not work (the service is not restarted), # but master-addon service always terminates after it does it job, # so it is (usually) not running and it will be started when # salt is run. diff --git a/cluster/ubuntu/util.sh b/cluster/ubuntu/util.sh index b3bc68c8b77..9bbd762f43d 100755 --- a/cluster/ubuntu/util.sh +++ b/cluster/ubuntu/util.sh @@ -35,7 +35,7 @@ function test-build-release { "${KUBE_ROOT}/build/release.sh" } -# From user input set the necessary k8s and etcd configuration infomation +# From user input set the necessary k8s and etcd configuration information function setClusterInfo() { # Initialize MINION_IPS in setClusterInfo function # MINION_IPS is defined as a global variable, and is concatenated with other nodeIP diff --git a/cmd/kube-apiserver/app/server.go b/cmd/kube-apiserver/app/server.go index 4e8416b2fe9..3801a290017 100644 --- a/cmd/kube-apiserver/app/server.go +++ b/cmd/kube-apiserver/app/server.go @@ -479,7 +479,7 @@ func (s *APIServer) Run(_ []string) error { } // err == systemd.SdNotifyNoSocket when not running on a systemd system if err := systemd.SdNotify("READY=1\n"); err != nil && err != systemd.SdNotifyNoSocket { - glog.Errorf("Unable to send systemd daemon sucessful start message: %v\n", err) + glog.Errorf("Unable to send systemd daemon successful start message: %v\n", err) } if err := secureServer.ListenAndServeTLS(s.TLSCertFile, s.TLSPrivateKeyFile); err != nil { glog.Errorf("Unable to listen for secure (%v); will try again.", err) @@ -497,7 +497,7 @@ func (s *APIServer) Run(_ []string) error { if secureLocation == "" { // err == systemd.SdNotifyNoSocket when not running on a systemd system if err := systemd.SdNotify("READY=1\n"); err != nil && err != systemd.SdNotifyNoSocket { - glog.Errorf("Unable to send systemd daemon sucessful start message: %v\n", err) + glog.Errorf("Unable to send systemd daemon successful start message: %v\n", err) } } glog.Infof("Serving insecurely on %s", insecureLocation) diff --git a/cmd/kube-controller-manager/app/controllermanager.go b/cmd/kube-controller-manager/app/controllermanager.go index f6f190b0d7b..3522e423895 100644 --- a/cmd/kube-controller-manager/app/controllermanager.go +++ b/cmd/kube-controller-manager/app/controllermanager.go @@ -125,7 +125,7 @@ func (s *CMServer) AddFlags(fs *pflag.FlagSet) { fs.IntVar(&s.DeletingPodsBurst, "deleting-pods-burst", 10, "Number of nodes on which pods are bursty deleted in case of node failure. For more details look into RateLimiter.") fs.IntVar(&s.RegisterRetryCount, "register-retry-count", s.RegisterRetryCount, ""+ "The number of retries for initial node registration. Retry interval equals node-sync-period.") - fs.MarkDeprecated("register-retry-count", "This flag is currenty no-op and will be deleted.") + fs.MarkDeprecated("register-retry-count", "This flag is currently no-op and will be deleted.") fs.DurationVar(&s.NodeMonitorGracePeriod, "node-monitor-grace-period", 40*time.Second, "Amount of time which we allow running Node to be unresponsive before marking it unhealty. "+ "Must be N times more than kubelet's nodeStatusUpdateFrequency, "+ diff --git a/contrib/ansible/roles/kubernetes-addons/files/kube-addon-update.sh b/contrib/ansible/roles/kubernetes-addons/files/kube-addon-update.sh index 93f0469b409..c7fba2f917b 100755 --- a/contrib/ansible/roles/kubernetes-addons/files/kube-addon-update.sh +++ b/contrib/ansible/roles/kubernetes-addons/files/kube-addon-update.sh @@ -25,7 +25,7 @@ # LIMITATIONS # 1. controllers are not updated unless their name is changed # 3. Services will not be updated unless their name is changed, -# but for services we acually want updates without name change. +# but for services we actually want updates without name change. # 4. Json files are not handled at all. Currently addons must be # in yaml files # 5. exit code is probably not always correct (I haven't checked diff --git a/contrib/ansible/roles/kubernetes/defaults/main.yml b/contrib/ansible/roles/kubernetes/defaults/main.yml index 8d9a1f7e6fe..58def0c4bf8 100644 --- a/contrib/ansible/roles/kubernetes/defaults/main.yml +++ b/contrib/ansible/roles/kubernetes/defaults/main.yml @@ -25,7 +25,7 @@ kube_token_dir: "{{ kube_config_dir }}/tokens" kube_manifest_dir: "{{ kube_config_dir }}/manifests" # This is the group that the cert creation scripts chgrp the -# cert files to. Not really changable... +# cert files to. Not really changeable... kube_cert_group: kube-cert # Internal DNS domain name. diff --git a/contrib/diurnal/time.go b/contrib/diurnal/time.go index 6abcfbe591f..d32b11d712f 100644 --- a/contrib/diurnal/time.go +++ b/contrib/diurnal/time.go @@ -182,7 +182,7 @@ func parseTimeISO8601(s string) (time.Time, error) { theTime.offMinute = v s = s[2:] default: - return time.Time{}, errors.New("an unknown error occured") + return time.Time{}, errors.New("an unknown error occurred") } state++ } diff --git a/contrib/for-demos/proxy-to-service/Dockerfile b/contrib/for-demos/proxy-to-service/Dockerfile index 0ebe1a7a2ad..bd3e4646196 100644 --- a/contrib/for-demos/proxy-to-service/Dockerfile +++ b/contrib/for-demos/proxy-to-service/Dockerfile @@ -1,4 +1,4 @@ -# Alpine linux would be great for this, but it's DNS does not use seach paths. +# Alpine linux would be great for this, but it's DNS does not use search paths. FROM progrium/busybox MAINTAINER Tim Hockin "thockin@google.com" diff --git a/contrib/mesos/pkg/executor/executor_test.go b/contrib/mesos/pkg/executor/executor_test.go index a4c40bc7e65..0572067f0e1 100644 --- a/contrib/mesos/pkg/executor/executor_test.go +++ b/contrib/mesos/pkg/executor/executor_test.go @@ -263,7 +263,7 @@ func TestExecutorRegister(t *testing.T) { } // TestExecutorDisconnect ensures that the executor thinks that it is not -// connected after a call to Disconnected has occured. +// connected after a call to Disconnected has occurred. func TestExecutorDisconnect(t *testing.T) { mockDriver := &MockExecutorDriver{} executor := NewTestKubernetesExecutor() @@ -346,7 +346,7 @@ func TestExecutorLaunchAndKillTask(t *testing.T) { select { case <-updates: case <-time.After(time.Second): - t.Fatalf("Executor should send an intial update on Registration") + t.Fatalf("Executor should send an initial update on Registration") } pod := NewTestPod(1) diff --git a/contrib/mesos/pkg/queue/interface.go b/contrib/mesos/pkg/queue/interface.go index 143816c90de..de10a47904a 100644 --- a/contrib/mesos/pkg/queue/interface.go +++ b/contrib/mesos/pkg/queue/interface.go @@ -58,7 +58,7 @@ type FIFO interface { // Pop waits until an item is ready and returns it. If multiple items are // ready, they are returned in the order in which they were added/updated. // The item is removed from the queue (and the store) before it is returned, - // so if you don't succesfully process it, you need to add it back with Add(). + // so if you don't successfully process it, you need to add it back with Add(). Pop() interface{} // Await attempts to Pop within the given interval; upon success the non-nil diff --git a/contrib/mesos/pkg/scheduler/plugin.go b/contrib/mesos/pkg/scheduler/plugin.go index 6a6bd1e2e1d..ac03cc1336f 100644 --- a/contrib/mesos/pkg/scheduler/plugin.go +++ b/contrib/mesos/pkg/scheduler/plugin.go @@ -350,7 +350,7 @@ func (k *kubeScheduler) doSchedule(task *podtask.T, err error) (string, error) { return "", fmt.Errorf("task.offer assignment must be idempotent, task %+v: offer %+v", task, offer) } - // write resource limits into the pod spec which is transfered to the executor. From here + // write resource limits into the pod spec which is transferred to the executor. From here // on we can expect that the pod spec of a task has proper limits for CPU and memory. // TODO(sttts): For a later separation of the kubelet and the executor also patch the pod on the apiserver if unlimitedCPU := mresource.LimitPodCPU(&task.Pod, k.defaultContainerCPULimit); unlimitedCPU { diff --git a/contrib/service-loadbalancer/service_loadbalancer_test.go b/contrib/service-loadbalancer/service_loadbalancer_test.go index a744682cd1b..23977cde9bc 100644 --- a/contrib/service-loadbalancer/service_loadbalancer_test.go +++ b/contrib/service-loadbalancer/service_loadbalancer_test.go @@ -141,7 +141,7 @@ func TestGetServices(t *testing.T) { {Port: 20, TargetPort: util.NewIntOrStringFromInt(ports[1])}, } - // 2 services targetting the same endpoints, one of which is declared as a tcp service. + // 2 services targeting the same endpoints, one of which is declared as a tcp service. svc1 := getService(servicePorts) svc2 := getService(servicePorts) endpoints := []*api.Endpoints{ diff --git a/docs/admin/cluster-large.md b/docs/admin/cluster-large.md index 28b83e5bbb1..c8febe78e16 100644 --- a/docs/admin/cluster-large.md +++ b/docs/admin/cluster-large.md @@ -88,7 +88,7 @@ To avoid running into cluster addon resource issues, when creating a cluster wit * [Kibana](http://releases.k8s.io/HEAD/cluster/addons/fluentd-elasticsearch/kibana-controller.yaml) * Scale number of replicas for the following addons, if used, along with the size of cluster (there are multiple replicas of each so increasing replicas should help handle increased load, but, since load per replica also increases slightly, also consider increasing CPU/memory limits): * [elasticsearch](http://releases.k8s.io/HEAD/cluster/addons/fluentd-elasticsearch/es-controller.yaml) -* Increase memory and CPU limits sligthly for each of the following addons, if used, along with the size of cluster (there is one replica per node but CPU/memory usage increases slightly along with cluster load/size as well): +* Increase memory and CPU limits slightly for each of the following addons, if used, along with the size of cluster (there is one replica per node but CPU/memory usage increases slightly along with cluster load/size as well): * [FluentD with ElasticSearch Plugin](http://releases.k8s.io/HEAD/cluster/saltbase/salt/fluentd-es/fluentd-es.yaml) * [FluentD with GCP Plugin](http://releases.k8s.io/HEAD/cluster/saltbase/salt/fluentd-gcp/fluentd-gcp.yaml) diff --git a/docs/api-reference/definitions.html b/docs/api-reference/definitions.html index 958d2e52dd9..babdce90c32 100644 --- a/docs/api-reference/definitions.html +++ b/docs/api-reference/definitions.html @@ -4224,7 +4224,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
hostPath
a HostPath provisioned by a developer or tester; for develment use only; see http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath
a HostPath provisioned by a developer or tester; for development use only; see http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath
false
lastTimestamp
the time at which the most recent occurance of this event was recorded
the time at which the most recent occurrence of this event was recorded
false
string
hostPath
a HostPath provisioned by a developer or tester; for develment use only; see http://releases.k8s.io/HEAD/docs/volumes.md#hostpath
a HostPath provisioned by a developer or tester; for development use only; see http://releases.k8s.io/HEAD/docs/volumes.md#hostpath
false
lastTimestamp
the time at which the most recent occurance of this event was recorded
the time at which the most recent occurrence of this event was recorded
false
string
An error occured:
' + return 'An error occurred:
' + escape(e.message + '', true) + ''; } @@ -8641,7 +8641,7 @@ var Shred = function(options) { this.logCurl = options.logCurl || false; }; -// Most of the real work is done in the request and reponse classes. +// Most of the real work is done in the request and response classes. Shred.Request = require("./shred/request"); Shred.Response = require("./shred/response"); @@ -9840,7 +9840,7 @@ Changelog: a regress. I appologize for that. 2010.05.09 - 0.5: - - bug fix: 0 is now preceeded with a + sign + - bug fix: 0 is now preceded with a + sign - bug fix: the sign was not at the right position on padded results (Kamal Abdali) - switched from GPL to BSD license @@ -46921,7 +46921,7 @@ window.SwaggerUi.Views = {}; }); } else if (typeof exports === 'object') { // Node. Does not work with strict CommonJS, but - // only CommonJS-like enviroments that support module.exports, + // only CommonJS-like environments that support module.exports, // like Node. module.exports = factory(require('b')); } else { diff --git a/pkg/util/fielderrors/fielderrors.go b/pkg/util/fielderrors/fielderrors.go index 66383443af4..fdf8fe89d01 100644 --- a/pkg/util/fielderrors/fielderrors.go +++ b/pkg/util/fielderrors/fielderrors.go @@ -148,7 +148,7 @@ func NewFieldTooLong(field string, value interface{}, maxLength int) *Validation type ValidationErrorList []error // Prefix adds a prefix to the Field of every ValidationError in the list. -// Also adds prefixes to multiple fields if you send an or seperator. +// Also adds prefixes to multiple fields if you send an or separator. // Returns the list for convenience. func (list ValidationErrorList) Prefix(prefix string) ValidationErrorList { for i := range list { diff --git a/pkg/util/jsonpath/parser.go b/pkg/util/jsonpath/parser.go index e80034c5872..89438b2046c 100644 --- a/pkg/util/jsonpath/parser.go +++ b/pkg/util/jsonpath/parser.go @@ -166,7 +166,7 @@ func (p *Parser) parseInsideAction(cur *ListNode) error { p.backup() return p.parseIdentifier(cur) default: - return fmt.Errorf("unrecognized charactor in action: %#U", r) + return fmt.Errorf("unrecognized character in action: %#U", r) } return p.parseInsideAction(cur) } diff --git a/pkg/util/jsonpath/parser_test.go b/pkg/util/jsonpath/parser_test.go index 29083dd6c44..e0102062e8b 100644 --- a/pkg/util/jsonpath/parser_test.go +++ b/pkg/util/jsonpath/parser_test.go @@ -107,7 +107,7 @@ type failParserTest struct { func TestFailParser(t *testing.T) { failParserTests := []failParserTest{ {"unclosed action", "{.hello", "unclosed action"}, - {"unrecognized charactor", "{*}", "unrecognized charactor in action: U+002A '*'"}, + {"unrecognized character", "{*}", "unrecognized character in action: U+002A '*'"}, {"invalid number", "{+12.3.0}", "cannot parse number +12.3.0"}, {"unterminated array", "{[1}", "unterminated array"}, {"invalid index", "{[::-1]}", "invalid array index ::-1"}, diff --git a/pkg/util/proxy/transport.go b/pkg/util/proxy/transport.go index d0a19be482f..b4f5b6b49d2 100644 --- a/pkg/util/proxy/transport.go +++ b/pkg/util/proxy/transport.go @@ -179,7 +179,7 @@ func rewriteHTML(reader io.Reader, writer io.Writer, urlRewriter func(string) st return nil } -// rewriteResponse modifies an HTML response by updating absolute links refering +// rewriteResponse modifies an HTML response by updating absolute links referring // to the original host to instead refer to the proxy transport. func (t *Transport) rewriteResponse(req *http.Request, resp *http.Response) (*http.Response, error) { origBody := resp.Body diff --git a/pkg/version/verflag/verflag.go b/pkg/version/verflag/verflag.go index 7e66b5fbe4e..60683214fbb 100644 --- a/pkg/version/verflag/verflag.go +++ b/pkg/version/verflag/verflag.go @@ -66,7 +66,7 @@ func (v *versionValue) String() string { return fmt.Sprintf("%v", bool(*v == VersionTrue)) } -// The type of the flag as requred by the pflag.Value interface +// The type of the flag as required by the pflag.Value interface func (v *versionValue) Type() string { return "version" } diff --git a/pkg/volume/gce_pd/gce_util.go b/pkg/volume/gce_pd/gce_util.go index fde1ae31b68..b52ef3a8030 100644 --- a/pkg/volume/gce_pd/gce_util.go +++ b/pkg/volume/gce_pd/gce_util.go @@ -158,8 +158,8 @@ func attachDiskAndVerify(b *gcePersistentDiskBuilder, sdBeforeSet util.StringSet // Retry on error. See issue #11321 glog.Errorf("Error checking if path exists: %v", err) } else if pathExists { - // A device path has succesfully been created for the PD - glog.Infof("Succesfully attached GCE PD %q.", b.pdName) + // A device path has successfully been created for the PD + glog.Infof("Successfully attached GCE PD %q.", b.pdName) return path, nil } } @@ -181,7 +181,7 @@ func detachDiskAndVerify(c *gcePersistentDiskCleaner) { defer util.HandleCrash() // Start operation, so that other threads can wait on this detach operation. - // Set bufferSize to 0 so senders are blocked on send until we recieve. + // Set bufferSize to 0 so senders are blocked on send until we receive. ch, err := detachCleanupManager.Start(c.pdName, 0 /* bufferSize */) if err != nil { glog.Errorf("Error adding %q to detachCleanupManager: %v", c.pdName, err) @@ -244,7 +244,7 @@ func detachDiskAndVerify(c *gcePersistentDiskCleaner) { } if allPathsRemoved { // All paths to the PD have been succefully removed - glog.Infof("Succesfully detached GCE PD %q.", c.pdName) + glog.Infof("Successfully detached GCE PD %q.", c.pdName) return } diff --git a/pkg/watch/mux.go b/pkg/watch/mux.go index 5299f7bf976..5d1f71768de 100644 --- a/pkg/watch/mux.go +++ b/pkg/watch/mux.go @@ -91,7 +91,7 @@ func (m *Broadcaster) Watch() Interface { // WatchWithPrefix adds a new watcher to the list and returns an Interface for it. It sends // queuedEvents down the new watch before beginning to send ordinary events from Broadcaster. -// The returned watch will have a queue length that is at least large enough to accomodate +// The returned watch will have a queue length that is at least large enough to accommodate // all of the items in queuedEvents. func (m *Broadcaster) WatchWithPrefix(queuedEvents []Event) Interface { m.lock.Lock() @@ -151,7 +151,7 @@ func (m *Broadcaster) Shutdown() { close(m.incoming) } -// loop recieves from m.incoming and distributes to all watchers. +// loop receives from m.incoming and distributes to all watchers. func (m *Broadcaster) loop() { // Deliberately not catching crashes here. Yes, bring down the process if there's a // bug in watch.Broadcaster. diff --git a/plugin/pkg/scheduler/metrics/metrics.go b/plugin/pkg/scheduler/metrics/metrics.go index 796e61b0616..a2db2b33230 100644 --- a/plugin/pkg/scheduler/metrics/metrics.go +++ b/plugin/pkg/scheduler/metrics/metrics.go @@ -30,7 +30,7 @@ var ( prometheus.SummaryOpts{ Subsystem: schedulerSubsystem, Name: "e2e_scheduling_latency_microseconds", - Help: "E2e scheduling latency (scheduling algorith + binding)", + Help: "E2e scheduling latency (scheduling algorithm + binding)", }, ) SchedulingAlgorithmLatency = prometheus.NewSummary( diff --git a/plugin/pkg/scheduler/modeler.go b/plugin/pkg/scheduler/modeler.go index 511a8a839f4..aef4d94803e 100644 --- a/plugin/pkg/scheduler/modeler.go +++ b/plugin/pkg/scheduler/modeler.go @@ -36,7 +36,7 @@ var ( ) // ExtendedPodLister: SimpleModeler needs to be able to check for a pod's -// existance in addition to listing the pods. +// existence in addition to listing the pods. type ExtendedPodLister interface { algorithm.PodLister Exists(pod *api.Pod) (bool, error) diff --git a/test/e2e/e2e_test.go b/test/e2e/e2e_test.go index 5df68566196..9b9e6ee55e5 100644 --- a/test/e2e/e2e_test.go +++ b/test/e2e/e2e_test.go @@ -59,7 +59,7 @@ func init() { // Randomize specs as well as suites config.GinkgoConfig.RandomizeAllSpecs = true - flag.StringVar(&testContext.KubeConfig, clientcmd.RecommendedConfigPathFlag, "", "Path to kubeconfig containing embeded authinfo.") + flag.StringVar(&testContext.KubeConfig, clientcmd.RecommendedConfigPathFlag, "", "Path to kubeconfig containing embedded authinfo.") flag.StringVar(&testContext.KubeContext, clientcmd.FlagContext, "", "kubeconfig context to use/override. If unset, will use value from 'current-context'") flag.StringVar(&testContext.CertDir, "cert-dir", "", "Path to the directory containing the certs. Default is empty, which doesn't use certs.") flag.StringVar(&testContext.Host, "host", "", "The host, or apiserver, to connect to") diff --git a/test/e2e/es_cluster_logging.go b/test/e2e/es_cluster_logging.go index 8b00e0ac0d3..886c12e597a 100644 --- a/test/e2e/es_cluster_logging.go +++ b/test/e2e/es_cluster_logging.go @@ -269,7 +269,7 @@ func ClusterLevelLoggingWithElasticsearch(f *Framework) { } // Ask Elasticsearch to return all the log lines that were tagged with the underscore - // verison of the name. Ask for twice as many log lines as we expect to check for + // version of the name. Ask for twice as many log lines as we expect to check for // duplication bugs. body, err = f.Client.Get(). Namespace(api.NamespaceSystem). diff --git a/test/e2e/host_path.go b/test/e2e/host_path.go index a7c990db65f..8c75b237321 100644 --- a/test/e2e/host_path.go +++ b/test/e2e/host_path.go @@ -29,7 +29,7 @@ import ( . "github.com/onsi/gomega" ) -//TODO : Consolodate this code with the code for emptyDir. +//TODO : Consolidate this code with the code for emptyDir. //This will require some smart. var _ = Describe("hostPath", func() { var ( diff --git a/test/e2e/kubectl.go b/test/e2e/kubectl.go index d6d6b27a4a8..1555b37bb45 100644 --- a/test/e2e/kubectl.go +++ b/test/e2e/kubectl.go @@ -223,7 +223,7 @@ var _ = Describe("Kubectl client", func() { It("should check if Kubernetes master services is included in cluster-info", func() { By("validating cluster-info") output := runKubectl("cluster-info") - // Can't check exact strings due to terminal controll commands (colors) + // Can't check exact strings due to terminal control commands (colors) requiredItems := []string{"Kubernetes master", "is running at"} if providerIs("gce", "gke") { requiredItems = append(requiredItems, "KubeDNS", "Heapster") diff --git a/test/e2e/kubelet_stats.go b/test/e2e/kubelet_stats.go index 014265ad5d4..d522f657797 100644 --- a/test/e2e/kubelet_stats.go +++ b/test/e2e/kubelet_stats.go @@ -43,7 +43,7 @@ import ( ) // KubeletMetric stores metrics scraped from the kubelet server's /metric endpoint. -// TODO: Get some more structure aroud the metrics and this type +// TODO: Get some more structure around the metrics and this type type KubeletMetric struct { // eg: list, info, create Operation string diff --git a/test/e2e/networking.go b/test/e2e/networking.go index 244426416aa..2bcb2551330 100644 --- a/test/e2e/networking.go +++ b/test/e2e/networking.go @@ -217,7 +217,7 @@ var _ = Describe("Networking", func() { Logf("Attempt %v: service/pod still starting. (error: '%v')", i, err) continue } - // Finally, we pass/fail the test based on if the container's response body, as to wether or not it was able to find peers. + // Finally, we pass/fail the test based on if the container's response body, as to whether or not it was able to find peers. switch { case string(body) == "pass": Logf("Passed on attempt %v. Cleaning up.", i) diff --git a/test/e2e/util.go b/test/e2e/util.go index c47b57295a1..51ecabf891b 100644 --- a/test/e2e/util.go +++ b/test/e2e/util.go @@ -560,7 +560,7 @@ func waitForPodSuccessInNamespace(c *client.Client, podName string, contName str }) } -// waitForRCPodOnNode returns the pod from the given replication controller (decribed by rcName) which is scheduled on the given node. +// waitForRCPodOnNode returns the pod from the given replication controller (described by rcName) which is scheduled on the given node. // In case of failure or too long waiting time, an error is returned. func waitForRCPodOnNode(c *client.Client, ns, rcName, node string) (*api.Pod, error) { label := labels.SelectorFromSet(labels.Set(map[string]string{"name": rcName})) @@ -583,7 +583,7 @@ func waitForRCPodOnNode(c *client.Client, ns, rcName, node string) (*api.Pod, er return p, err } -// waitForRCPodToDisappear returns nil if the pod from the given replication controller (decribed by rcName) no longer exists. +// waitForRCPodToDisappear returns nil if the pod from the given replication controller (described by rcName) no longer exists. // In case of failure or too long waiting time, an error is returned. func waitForRCPodToDisappear(c *client.Client, ns, rcName, podName string) error { label := labels.SelectorFromSet(labels.Set(map[string]string{"name": rcName})) @@ -1011,7 +1011,7 @@ func testContainerOutputInNamespace(scenarioName string, c *client.Client, pod * continue } - By(fmt.Sprintf("Succesfully fetched pod logs:%v\n", string(logs))) + By(fmt.Sprintf("Successfully fetched pod logs:%v\n", string(logs))) break } diff --git a/www/master/components/dashboard/less/dashboard.less b/www/master/components/dashboard/less/dashboard.less index a9eebdd3d1b..a9344dbb0a2 100755 --- a/www/master/components/dashboard/less/dashboard.less +++ b/www/master/components/dashboard/less/dashboard.less @@ -2,7 +2,7 @@ .body-wrapper { padding: 25px; } - // analagous to float:right when used with row layout + // analogous to float:right when used with row layout [flex-align-self="end"] { -webkit-align-self: flex-end; -ms-flex-align-self: end;