Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

18.09: kubernetes: 1.10.5 -> 1.11.3 #46598

Merged
merged 1 commit into from Sep 13, 2018

Conversation

srhb
Copy link
Contributor

@srhb srhb commented Sep 13, 2018

Backport of #46573 to 18.09. The module revamp did not make the cut for this release. See the comments on that PR for compatibility, namely that 1.11 works with our current modules (with the same issues that 1.10 has) and keeps us up to date.

@samueldr I assume this is still an acceptable backport, as long as we don't touch the module, right?

(cherry picked from commit a49f56c)

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

Fixed minor issue where kube-addon manager complaints about
/opt/namespace.yaml missing.

Added release notes with reference to Kubernetes 1.11 release notes.

closes NixOS#43882

(cherry picked from commit a49f56c)
@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: kubernetes

Partial log (click to expand)

strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/a0mlb2z42znh87grpjz52bmm64bkagsq-kubernetes-1.11.3/bin
patching script interpreter paths in /nix/store/a0mlb2z42znh87grpjz52bmm64bkagsq-kubernetes-1.11.3
gzipping man pages under /nix/store/gr6fpjc6mkv4jy4g51dmm35kbr0vv9rn-kubernetes-1.11.3-man/share/man/
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/gr6fpjc6mkv4jy4g51dmm35kbr0vv9rn-kubernetes-1.11.3-man
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/xwsw1i6ipp7nzaq76zi3azzza4s7m1dc-kubernetes-1.11.3-pause/bin
patching script interpreter paths in /nix/store/xwsw1i6ipp7nzaq76zi3azzza4s7m1dc-kubernetes-1.11.3-pause
/nix/store/a0mlb2z42znh87grpjz52bmm64bkagsq-kubernetes-1.11.3

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: kubernetes

Partial log (click to expand)

strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/i5w820lfd497a9rqnvc0knxpn6hmr2dq-kubernetes-1.11.3-man
checking for references to /build in /nix/store/i5w820lfd497a9rqnvc0knxpn6hmr2dq-kubernetes-1.11.3-man...
shrinking RPATHs of ELF executables and libraries in /nix/store/a5v8gif40f1z0qgyamaal6x7hjpb30zs-kubernetes-1.11.3-pause
shrinking /nix/store/a5v8gif40f1z0qgyamaal6x7hjpb30zs-kubernetes-1.11.3-pause/bin/pause
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/a5v8gif40f1z0qgyamaal6x7hjpb30zs-kubernetes-1.11.3-pause/bin
patching script interpreter paths in /nix/store/a5v8gif40f1z0qgyamaal6x7hjpb30zs-kubernetes-1.11.3-pause
checking for references to /build in /nix/store/a5v8gif40f1z0qgyamaal6x7hjpb30zs-kubernetes-1.11.3-pause...
/nix/store/irvqqh8jxi7lj4637i7wj7rawdna0n77-kubernetes-1.11.3

@srhb
Copy link
Contributor Author

srhb commented Sep 13, 2018

@GrahamcOfBorg test kubernetes.rbac.singlenode kubernetes.dns.singlenode kubernetes.rbac.multinode kubernetes.dns.multinode

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: tests.kubernetes.rbac.singlenode, tests.kubernetes.dns.singlenode, tests.kubernetes.rbac.multinode, tests.kubernetes.dns.multinode

Partial log (click to expand)


Cannot nix-instantiate `tests.kubernetes.dns.singlenode' because:
error: attribute 'singlenode' in selection path 'tests.kubernetes.dns.singlenode' not found

Cannot nix-instantiate `tests.kubernetes.rbac.multinode' because:
error: attribute 'multinode' in selection path 'tests.kubernetes.rbac.multinode' not found

Cannot nix-instantiate `tests.kubernetes.dns.multinode' because:
error: attribute 'multinode' in selection path 'tests.kubernetes.dns.multinode' not found

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: kubernetes

Partial log (click to expand)

strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/9b0jl3jxsvn6yjr31clyrnp84gmm96bf-kubernetes-1.11.3-man
checking for references to /build in /nix/store/9b0jl3jxsvn6yjr31clyrnp84gmm96bf-kubernetes-1.11.3-man...
shrinking RPATHs of ELF executables and libraries in /nix/store/zcxdv1m57cvjgb58g47imwhkkjzmpw27-kubernetes-1.11.3-pause
shrinking /nix/store/zcxdv1m57cvjgb58g47imwhkkjzmpw27-kubernetes-1.11.3-pause/bin/pause
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/zcxdv1m57cvjgb58g47imwhkkjzmpw27-kubernetes-1.11.3-pause/bin
patching script interpreter paths in /nix/store/zcxdv1m57cvjgb58g47imwhkkjzmpw27-kubernetes-1.11.3-pause
checking for references to /build in /nix/store/zcxdv1m57cvjgb58g47imwhkkjzmpw27-kubernetes-1.11.3-pause...
/nix/store/7gps6k51jr6jancgr3l8009z3ahjp01z-kubernetes-1.11.3

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: tests.kubernetes.rbac.singlenode, tests.kubernetes.dns.singlenode, tests.kubernetes.rbac.multinode, tests.kubernetes.dns.multinode

Partial log (click to expand)

machine1: exit status 0
test script finished in 98.67s
cleaning up
killing machine1 (pid 597)
vde_switch: EOF on stdin, cleaning up and exiting
vde_switch: Could not remove ctl dir '/build/vde1.ctl': Directory not empty
/nix/store/0b4krfjz1d3svxby4ld5vpsc6jf10bsi-vm-test-run-kubernetes-rbac-singlenode
/nix/store/ic4xhrwf5wkylxnw02nzfvmzqv7pnxbg-vm-test-run-kubernetes-dns-singlenode
/nix/store/98mqrjawkrf6syxw8afv0sj60yqcw6jw-vm-test-run-kubernetes-rbac-multinode
/nix/store/sz71x99zqr5vn5cchh7yxzg85cv9gm81-vm-test-run-kubernetes-dns-multinode

@samueldr
Copy link
Member

samueldr commented Sep 13, 2018

Right on, I'm going on the assumption that 1.10 → 1.11 is right, as long as it's compatible (which you said it is). I'm assuming the 1.10 series may not receive updates, though I don't know what's the support cycle of kubernetes. Though it looks like they support the three latest versions. So it's not critical, but a fine addition to update to 1.11.

Additionally they say they are generally compatible with some skew in the versions.

And last, the first 1.11 release is from before the 18.09 branch-off, so it's double-plus-good to integrate it, as users would probably expect "latest stable version at the moment the OS version branched off".

👍

@samueldr samueldr merged commit 43a15a7 into NixOS:release-18.09 Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants