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

Update knative version to 1.9 #662

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
### Added

### Changed
- Bumped Containerd to v1.6, Knative to v1.4, Go to v1.18, Kubernetes to v1.23, Istio to 1.12, protoc to 3.19, runc to 1.1.
- Bumped Containerd to v1.6, Knative to v1.9, Go to v1.18, Kubernetes to v1.23, Istio to 1.12, protoc to 3.19, runc to 1.1.

### Fixed

Expand Down
1,504 changes: 1,222 additions & 282 deletions configs/knative_yamls/serving-core.yaml

Large diffs are not rendered by default.

1,260 changes: 1,063 additions & 197 deletions configs/knative_yamls/serving-crds.yaml

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion configs/knative_yamls/serving-default-domain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
- name: default-domain
# This is the Go import path for the binary that is containerized
# and substituted here.
image: docker.io/vhiveease/default-domain-dd6f55160290a90018ba318b624be12e@sha256:75a1a31cc2aad47c97b458505d535758ec87159d55c3a9dc196c94eaaef323b6
image: docker.io/anshalshukla/default-domain-dd6f55160290a90018ba318b624be12e@sha256:b7138298d2d960468ed947c4bd0d4dd7d5a705f5dad4ff177dfff608c4d519d3
args: ["-magic-dns=sslip.io"]
ports:
- name: http
Expand All @@ -61,6 +61,11 @@ spec:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
runAsNonRoot: true
capabilities:
drop:
- ALL
seccompProfile:
type: RuntimeDefault
env:
- name: POD_NAME
valueFrom:
Expand Down
6 changes: 4 additions & 2 deletions configs/knative_yamls/serving-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
- name: autoscaler-hpa
# This is the Go import path for the binary that is containerized
# and substituted here.
image: docker.io/vhiveease/autoscaler-hpa-85c0b68178743d74ff7f663a72802ceb@sha256:b455e4be91b939abadce40c40344feb83ea01c50e547c5d18795ebf869ac24eb
image: docker.io/anshalshukla/autoscaler-hpa-85c0b68178743d74ff7f663a72802ceb@sha256:7551ecef94c4f09967395ca303155f9fb77845fd895f6da94d9ebced0496cae2
resources:
requests:
cpu: 30m
Expand All @@ -77,7 +77,9 @@ spec:
runAsNonRoot: true
capabilities:
drop:
- all
- ALL
seccompProfile:
type: RuntimeDefault
ports:
- name: metrics
containerPort: 9090
Expand Down
9 changes: 7 additions & 2 deletions configs/knative_yamls/serving-post-install-jobs.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

---
# /tmp/tmp.CrjanB0GV8/serving-storage-version-migration.yaml
# /tmp/tmp.c5D6WKITIh/serving-storage-version-migration.yaml
# Copyright 2020 The Knative Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -44,7 +44,7 @@ spec:
- name: migrate
# This is the Go import path for the binary that is containerized
# and substituted here.
image: docker.io/vhiveease/migrate-242d0a35bf580c5b411a545d79618fbf@sha256:a163bc57833f0cfdd0fad648969d27a537f937335bfbd56208c887460a05284d
image: docker.io/anshalshukla/migrate-242d0a35bf580c5b411a545d79618fbf@sha256:5a8c959c12f1c86807d47cd1e68be85a36d1ddbdfefffc942415507f997fc1a0
args:
- "services.serving.knative.dev"
- "configurations.serving.knative.dev"
Expand All @@ -61,5 +61,10 @@ spec:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
runAsNonRoot: true
capabilities:
drop:
- ALL
seccompProfile:
type: RuntimeDefault

---
7 changes: 6 additions & 1 deletion configs/knative_yamls/serving-storage-version-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
- name: migrate
# This is the Go import path for the binary that is containerized
# and substituted here.
image: docker.io/vhiveease/migrate-242d0a35bf580c5b411a545d79618fbf@sha256:a163bc57833f0cfdd0fad648969d27a537f937335bfbd56208c887460a05284d
image: docker.io/anshalshukla/migrate-242d0a35bf580c5b411a545d79618fbf@sha256:5a8c959c12f1c86807d47cd1e68be85a36d1ddbdfefffc942415507f997fc1a0
args:
- "services.serving.knative.dev"
- "configurations.serving.knative.dev"
Expand All @@ -58,5 +58,10 @@ spec:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
runAsNonRoot: true
capabilities:
drop:
- ALL
seccompProfile:
type: RuntimeDefault

---
2 changes: 1 addition & 1 deletion docs/developers_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Here are some useful commands (there are plenty of Zipkin tutorials online):
of our [fork](https://github.com/vhive-serverless/firecracker-containerd) of the upstream repository.
Currently, we are in the process of upstreaming VM snapshots support to the upstream repository.

* Current Firecracker version is 0.24.0, Knative 1.4, Kubernetes 1.23.5, gVisor 20210622.0, and Istio 1.12.5.
* Current Firecracker version is 0.24.0, Knative 1.9, Kubernetes 1.23.5, gVisor 20210622.0, and Istio 1.12.5.
We plan to keep our code loosely up to date with the upstream Firecracker repository.

* vHive uses a [fork](https://github.com/ease-lab/kind) of [kind](https://github.com/kubernetes-sigs/kind)
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_stock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ sudo apt-get update >> /dev/null
sudo apt-get -y install cri-tools ebtables ethtool kubeadm=$K8S_VERSION kubectl=$K8S_VERSION kubelet=$K8S_VERSION kubernetes-cni >> /dev/null

# Install knative CLI
KNATIVE_VERSION="release-1.4"
KNATIVE_VERSION="release-1.9"
git clone --quiet --depth=1 --branch=$KNATIVE_VERSION -c advice.detachedHead=false https://github.com/knative/client.git $HOME/client
cd $HOME/client
hack/build.sh -f
Expand Down