Skip to content

Commit

Permalink
Merge pull request #2048 from cybozu-go/k8s-1.23
Browse files Browse the repository at this point in the history
Kubernetes 1.23.9
  • Loading branch information
masa213f authored Aug 25, 2022
2 parents 481a446 + 7304ee7 commit 3bdc131
Show file tree
Hide file tree
Showing 4 changed files with 532 additions and 452 deletions.
12 changes: 6 additions & 6 deletions Makefile.common
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# tool versions used for both local bin and deb/zip packages

## These should be updated when Kubernetes is updated
CKE_VERSION = 1.22.9
CONTAINERD_VERSION = 1.5.8
NERDCTL_VERSION = 0.20.0
CRITOOLS_VERSION = 1.22.0
RUNC_VERSION = 1.0.3
K8S_VERSION = 1.22.12
CKE_VERSION = 1.23.0
CONTAINERD_VERSION = 1.6.6
NERDCTL_VERSION = 0.22.2
CRITOOLS_VERSION = 1.24.2
RUNC_VERSION = 1.1.3
K8S_VERSION = 1.23.9
STERN_VERSION = 1.21.0


Expand Down
14 changes: 8 additions & 6 deletions etc/cke-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ options:
kind: Policy
omitStages:
- RequestReceived
omitManagedFields: true
rules:
# Avoid logging secret values
- level: Metadata
Expand Down Expand Up @@ -63,7 +64,7 @@ options:
- system:kube-scheduler
- level: RequestResponse
extra_args:
- "--feature-gates=EphemeralContainers=true,MixedProtocolLBService=true"
- "--feature-gates=GRPCContainerProbe=true,MixedProtocolLBService=true"
- "--audit-log-maxage=1"
- "--audit-log-maxsize=10"
- "--audit-log-maxbackup=10"
Expand All @@ -73,7 +74,7 @@ options:
read_only: false
kube-controller-manager:
extra_args:
- "--feature-gates=EphemeralContainers=true,MixedProtocolLBService=true"
- "--feature-gates=GRPCContainerProbe=true,MixedProtocolLBService=true"
- "--leader-elect-retry-period=5s"
- "--leader-elect-renew-deadline=15s"
- "--leader-elect-lease-duration=20s"
Expand All @@ -86,7 +87,7 @@ options:
mode: ipvs
kube-scheduler:
config:
apiVersion: kubescheduler.config.k8s.io/v1beta1
apiVersion: kubescheduler.config.k8s.io/v1beta3
kind: KubeSchedulerConfiguration
extenders:
- urlPrefix: "http://127.0.0.1:9251"
Expand All @@ -110,13 +111,14 @@ options:
pluginConfig:
- name: PodTopologySpread
args:
# https://pkg.go.dev/k8s.io/kube-scheduler/config/v1beta1#PodTopologySpreadArgs
# https://pkg.go.dev/k8s.io/kube-scheduler/config/v1beta3#PodTopologySpreadArgs
defaultConstraints:
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: ScheduleAnyway
defaultingType: List
extra_args:
- "--feature-gates=EphemeralContainers=true,MixedProtocolLBService=true"
- "--feature-gates=GRPCContainerProbe=true,MixedProtocolLBService=true"
- "--leader-elect-retry-period=5s"
- "--leader-elect-renew-deadline=15s"
- "--leader-elect-lease-duration=20s"
Expand All @@ -138,7 +140,7 @@ options:
imageGCHighThresholdPercent: 65
imageGCLowThresholdPercent: 60
featureGates:
EphemeralContainers: true
GRPCContainerProbe: true
MixedProtocolLBService: true
cri_endpoint: unix:///var/run/k8s-containerd.sock
extra_args:
Expand Down
75 changes: 37 additions & 38 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,32 @@ require (
github.com/cybozu-go/sabakan/v2 v2.13.0
github.com/cybozu-go/well v1.11.0
github.com/google/go-cmp v0.5.8
github.com/google/go-containerregistry v0.8.0
github.com/google/go-containerregistry v0.11.0
github.com/google/go-github/v41 v41.0.0
github.com/hashicorp/go-version v1.4.0
github.com/hashicorp/serf v0.9.7
github.com/hashicorp/vault/api v1.5.0
github.com/hashicorp/go-version v1.6.0
github.com/hashicorp/serf v0.9.8
github.com/hashicorp/vault/api v1.7.2
github.com/mattn/go-isatty v0.0.14
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/mapstructure v1.5.0
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.19.0
github.com/onsi/gomega v1.20.0
github.com/prometheus/client_model v0.2.0
github.com/prometheus/common v0.34.0
github.com/prometheus/common v0.37.0
github.com/robfig/cron/v3 v3.0.1
github.com/spf13/cobra v1.4.0
github.com/spf13/viper v1.11.0
github.com/spf13/cobra v1.5.0
github.com/spf13/viper v1.12.0
github.com/stmcginnis/gofish v0.13.0
github.com/tcnksm/go-input v0.0.0-20180404061846-548a7d7a8ee8
github.com/vektah/gqlparser/v2 v2.4.2
github.com/vishvananda/netlink v1.2.0-beta
github.com/vektah/gqlparser/v2 v2.4.7
github.com/vishvananda/netlink v1.2.1-beta.2
go.etcd.io/etcd/api/v3 v3.5.4
go.etcd.io/etcd/client/v3 v3.5.4
golang.org/x/crypto v0.0.0-20220507011949-2cf3adece122
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5
golang.org/x/term v0.0.0-20220411215600-e5f449aeb171
k8s.io/api v0.23.5
k8s.io/apimachinery v0.23.5
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa
golang.org/x/oauth2 v0.0.0-20220722155238-128564f6959c
golang.org/x/term v0.0.0-20220722155259-a9ba230a4035
k8s.io/api v0.23.9
k8s.io/apimachinery v0.23.9
sigs.k8s.io/yaml v1.3.0
)

Expand All @@ -48,17 +48,17 @@ require (
github.com/armon/go-metrics v0.3.10 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
github.com/containerd/stargz-snapshotter/estargz v0.10.1 // indirect
github.com/containerd/stargz-snapshotter/estargz v0.12.0 // indirect
github.com/coreos/go-semver v0.3.0 // indirect
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
github.com/docker/cli v20.10.12+incompatible // indirect
github.com/docker/distribution v2.8.0+incompatible // indirect
github.com/docker/docker v20.10.12+incompatible // indirect
github.com/docker/cli v20.10.17+incompatible // indirect
github.com/docker/distribution v2.8.1+incompatible // indirect
github.com/docker/docker v20.10.17+incompatible // indirect
github.com/docker/docker-credential-helpers v0.6.4 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/flatcar-linux/ignition v0.36.1 // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/fsnotify/fsnotify v1.5.4 // indirect
github.com/go-logr/logr v1.2.2 // indirect
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
Expand All @@ -77,19 +77,19 @@ require (
github.com/hashicorp/go-retryablehttp v0.7.0 // indirect
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
github.com/hashicorp/go-secure-stdlib/mlock v0.1.2 // indirect
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.2 // indirect
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 // indirect
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
github.com/hashicorp/go-sockaddr v1.0.2 // indirect
github.com/hashicorp/go-uuid v1.0.2 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/memberlist v0.3.0 // indirect
github.com/hashicorp/vault/sdk v0.4.1 // indirect
github.com/hashicorp/vault/sdk v0.5.1 // indirect
github.com/hashicorp/yamux v0.0.0-20211028200310-0bc27b27de87 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.13.6 // indirect
github.com/klauspost/compress v1.15.8 // indirect
github.com/magiconair/properties v1.8.6 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
Expand All @@ -102,19 +102,19 @@ require (
github.com/nxadm/tail v1.4.8 // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.2 // indirect
github.com/pelletier/go-toml v1.9.4 // indirect
github.com/pelletier/go-toml/v2 v2.0.0-beta.8 // indirect
github.com/opencontainers/image-spec v1.0.3-0.20220114050600-8b9d41f48198 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 // indirect
github.com/sirupsen/logrus v1.8.1 // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
github.com/spf13/afero v1.8.2 // indirect
github.com/spf13/cast v1.4.1 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
github.com/subosito/gotenv v1.3.0 // indirect
github.com/vbatts/tar-split v0.11.2 // indirect
github.com/vincent-petithory/dataurl v1.0.0 // indirect
github.com/vishvananda/netns v0.0.0-20211101163701-50045581ed74 // indirect
Expand All @@ -123,24 +123,23 @@ require (
go.uber.org/multierr v1.7.0 // indirect
go.uber.org/zap v1.20.0 // indirect
go4.org v0.0.0-20201209231011-d4a079459e60 // indirect
golang.org/x/mod v0.5.1 // indirect
golang.org/x/net v0.0.0-20220412020605-290c469a71a5 // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/net v0.0.0-20220708220712-1185a9018129 // indirect
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f // indirect
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect
golang.org/x/tools v0.1.9 // indirect
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f // indirect
golang.org/x/tools v0.1.11 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac // indirect
google.golang.org/grpc v1.45.0 // indirect
google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90 // indirect
google.golang.org/grpc v1.47.0 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/ini.v1 v1.66.4 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/klog/v2 v2.40.1 // indirect
k8s.io/utils v0.0.0-20211116205334-6203023598ed // indirect
sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 // indirect
Expand Down
Loading

0 comments on commit 3bdc131

Please sign in to comment.