Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 0125edb460
Merge pull request #64396 from rosti/local-loadpodfromfile
Automatic merge from submit-queue (batch tested with PRs 64399, 64324, 64404, 64406, 64396). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

kubeadm: Use loadPodSpecFromFile instead of LoadPodFromFile

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>



**What this PR does / why we need it**:
Implement and use loadPodSpecFromFile which loads and returns PodSpec object
from YAML or JSON file. Use this function in the places where LoadPodFromFile
is used to load Pod object and then return the PodSpec portion of it. This
also removes the dependency on //pkg/volume/util and its dependencies (thus,
making kubeadm more lean).

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Refs kubernetes/kubeadm#839

**Special notes for your reviewer**:
/cc @kubernetes/sig-cluster-lifecycle-pr-reviews
/area kubeadm
/assign @luxas
/assign @timothysc

**Release note**:

```release-note
NONE
```
2018-05-28 15:06:27 -07:00
.github modify outdate link 2018-05-03 09:23:36 +08:00
api Update generated files 2018-05-28 10:56:58 +02:00
build Merge pull request #63532 from hzxuzhonghu/scheduler-not-depend-kubectl 2018-05-28 10:12:30 -07:00
cluster Merge pull request #64294 from vishh/shutdown-script 2018-05-25 22:33:33 -07:00
cmd Merge pull request #64396 from rosti/local-loadpodfromfile 2018-05-28 15:06:27 -07:00
docs Merge pull request #64063 from roycaihw/support-get-status 2018-05-23 18:14:20 -07:00
Godeps bump(github.com/evanphx/json-patch): 94e38aa1586e8a6c8a75770bddf5ff84c48a106b 2018-05-25 22:29:07 -04:00
hack move resource builder flags to genericclioptions 2018-05-28 11:08:58 +02:00
logo
pkg Merge pull request #64324 from cofyc/fix62102 2018-05-28 15:06:17 -07:00
plugin Merge pull request #64288 from gnufied/take-volume-resize-beta 2018-05-26 01:34:17 -07:00
staging Update generated files 2018-05-28 10:56:58 +02:00
test Merge pull request #64406 from soltysh/issue64359 2018-05-28 15:06:23 -07:00
third_party Fix error message in Equalities.DeepEqual 2018-05-20 02:22:09 +03:00
translations Adds initial Korean translations for kubectl 2018-05-12 11:16:49 +09:00
vendor bump(github.com/evanphx/json-patch): 94e38aa1586e8a6c8a75770bddf5ff84c48a106b 2018-05-25 22:29:07 -04:00
.bazelrc
.generated_files
.gitattributes
.gitignore
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md
CHANGELOG-1.3.md
CHANGELOG-1.4.md
CHANGELOG-1.5.md
CHANGELOG-1.6.md
CHANGELOG-1.7.md
CHANGELOG-1.8.md Update CHANGELOG-1.8.md for v1.8.13. 2018-05-15 19:34:20 +00:00
CHANGELOG-1.9.md Update CHANGELOG-1.9.md for v1.9.8. 2018-05-21 19:58:50 +00:00
CHANGELOG-1.10.md Update CHANGELOG-1.10.md for v1.10.3. 2018-05-21 10:36:05 +00:00
CHANGELOG-1.11.md Update CHANGELOG-1.11.md for v1.11.0-alpha.2. 2018-05-02 15:47:30 +00:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
labels.yaml
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES Add myself to sig-scheduling maintainers/approvers list. 2018-04-26 14:15:14 -04:00
README.md
SUPPORT.md
WORKSPACE

Kubernetes

Submit Queue Widget GoDoc Widget CII Best Practices


Kubernetes is an open source system for managing containerized applications across multiple hosts; providing basic mechanisms for deployment, maintenance, and scaling of applications.

Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale using a system called Borg, combined with best-of-breed ideas and practices from the community.

Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF). If you are a company that wants to help shape the evolution of technologies that are container-packaged, dynamically-scheduled and microservices-oriented, consider joining the CNCF. For details about who's involved and how Kubernetes plays a role, read the CNCF announcement.


To start using Kubernetes

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To start developing Kubernetes

The community repository hosts all information about building Kubernetes from source, how to contribute code and documentation, who to contact about what, etc.

If you want to build Kubernetes right away there are two options:

You have a working Go environment.
$ go get -d k8s.io/kubernetes
$ cd $GOPATH/src/k8s.io/kubernetes
$ make
You have a working Docker environment.
$ git clone https://github.com/kubernetes/kubernetes
$ cd kubernetes
$ make quick-release

For the full story, head over to the developer's documentation.

Support

If you need support, start with the troubleshooting guide, and work your way through the process that we've outlined.

That said, if you have questions, reach out to us one way or another.

Analytics