Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 1ad792f01d
Merge pull request #53464 from juanvallejo/jvallejo/output-empty-creation-ts-as-null
Automatic merge from submit-queue (batch tested with PRs 55050, 53464, 54936, 55028, 54928). 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>.

output empty creationTimestamp as null

**Release note**
```release-note
NONE
```

Updates the value of the `creationTimestamp` field to be `null`
when empty, to keep parity between it and `deletionTimestamp`.

Adds a round-trip test to ensure that unstructured objects containing
empty metadata fields are able to be re-converted back into internal
or external objects. Prior to the proposed patch in this PR, an
unstructured object whose `.metadata.creationTimestamp` value had
been set through the metadata accessor to an empty value 
(`metav1.Time{}` in this case), was unable to be re-converted to an
internal or external type using the runtime decoder. Conversion would
fail with the error:

```
unstructured_test.go:177: FromUnstructured failed: parsing time "" as "2006-01-02T15:04:05Z07:00": cannot parse "" as "2006"
```

cc @liggitt @fabianofranz
2017-11-03 12:59:12 -07:00
.github Merge pull request #54114 from xiangpengzhao/fix-pr-template 2017-10-30 18:37:06 -07:00
api Improve deleteOptions doc (generated) 2017-11-02 11:48:40 +08:00
build conversion-gen: cut off kube dependencies in extra-peer-dirs 2017-11-02 17:10:17 +01:00
cluster Merge pull request #54996 from mwielgus/metadata-proxy 2017-11-02 18:08:10 -07:00
cmd Merge pull request #55041 from wackxu/remdup 2017-11-03 07:18:00 -07:00
docs Improve deleteOptions doc (generated) 2017-11-02 11:48:40 +08:00
examples Update storageclass version to v1 in examples 2017-11-01 13:05:29 +08:00
Godeps Update kube-openapi to use validation 2017-11-02 09:25:03 -07:00
hack Merge pull request #53363 from tcharding/genutils 2017-11-02 12:59:16 -07:00
logo Don't use strokes in the logo SVG 2017-10-12 09:38:56 -07:00
pkg Merge pull request #53464 from juanvallejo/jvallejo/output-empty-creation-ts-as-null 2017-11-03 12:59:12 -07:00
plugin Merge pull request #55000 from deads2k/admission-10-split 2017-11-03 06:33:17 -07:00
staging Merge pull request #53464 from juanvallejo/jvallejo/output-empty-creation-ts-as-null 2017-11-03 12:59:12 -07:00
test Merge pull request #55050 from xiangpengzhao/clean-kubectl 2017-11-03 12:56:08 -07:00
third_party Merge pull request #47699 from supereagle/fix-typos 2017-10-17 02:35:52 -07:00
translations Merge pull request #51463 from lucab85/i18n-Italian 2017-09-23 04:02:51 -07:00
vendor Update kube-openapi to use validation 2017-11-02 09:25:03 -07:00
.bazelrc
.generated_files
.gitattributes Don't hide proto files 2017-11-01 15:51:54 -07:00
.gitignore
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md
CHANGELOG-1.3.md
CHANGELOG-1.4.md Update invalid TOC anchor of 1.4 CHANGELOG 2017-10-26 17:25:23 +08:00
CHANGELOG-1.5.md Regenerate CHANGELOG TOCs 2017-10-11 17:04:47 -04:00
CHANGELOG-1.6.md Update invalid TOC anchor of 1.6 CHANGELOG 2017-10-26 17:25:34 +08:00
CHANGELOG-1.7.md Add some indent in CHANGELOG-1.7 2017-10-23 09:45:35 +08:00
CHANGELOG-1.8.md Merge pull request #54128 from jianglingxia/jlx-changelog 2017-10-25 18:22:04 -07:00
CHANGELOG-1.9.md Update CHANGELOG-1.9.md for v1.9.0-alpha.2. 2017-11-01 15:32:46 -07:00
CHANGELOG.md Move 1.8.x release notes 2017-10-11 22:41:36 -04:00
code-of-conduct.md
CONTRIBUTING.md
labels.yaml
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES Add bsalamat to milestone maintainers 2017-10-26 10:25:42 -07:00
README.md
SUPPORT.md
Vagrantfile
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

If you are less impatient, 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