Skip to content

Commit fe1e83c

Browse files
authored
Merge branch 'master' into integration-dcoker-containerd
2 parents 4cf3e56 + f0e3a0d commit fe1e83c

File tree

7 files changed

+55
-4
lines changed

7 files changed

+55
-4
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM node:slim
2+
RUN apt-get update && apt-get install curl -y
3+
EXPOSE 8080
4+
COPY server.js .
5+
CMD [ "node", "server.js" ]
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
var http = require('http');
2+
var requests = 0;
3+
var podname = process.env.HOSTNAME;
4+
var startTime;
5+
var host;
6+
var handleRequest = function(request, response) {
7+
response.setHeader('Content-Type', 'text/plain');
8+
response.writeHead(200);
9+
response.write('Hello Kubernetes bootcamp! | Hostname: ');
10+
response.write(host);
11+
response.end(' | v=2\n');
12+
console.log('Hostname:', host, '| Total Requests:', ++requests, '| App Uptime:', (new Date() - startTime)/1000 , 'seconds', '| Log Time:', new Date());
13+
}
14+
var www = http.createServer(handleRequest);
15+
www.listen(8080, function () {
16+
startTime = new Date();
17+
host = process.env.HOSTNAME;
18+
console.log('Kubernetes Bootcamp App Started At:', startTime, '| Running On:', host, '\n');
19+
});

deploy/kicbase/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020

2121
# this ARG needs to be global to use it in `FROM` & is updated for new versions of debian:bookworm-slim-*
22-
ARG KICBASE_IMAGE="debian:bookworm-20251020-slim"
22+
ARG KICBASE_IMAGE="debian:bookworm-20251117-slim"
2323
# multi-stage docker build so we can build auto-pause for arm64
2424
FROM golang:1.25.3 AS auto-pause
2525
WORKDIR /src

hack/kicbase_version/os-package-list.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ii ca-certificates 20230311+deb12u1 all
1616
ii catatonit 0.1.7-1+b2 amd64 init process for containers
1717
ii conmon 2.1.6+ds1-1 amd64 OCI container runtime monitor
1818
ii conntrack 1:1.4.7-1+b2 amd64 Program to modify the conntrack tables
19-
ii containerd.io 2.1.5-1~debian.12~bookworm amd64 An open and reliable container runtime
19+
ii containerd.io 2.2.0-2~debian.12~bookworm amd64 An open and reliable container runtime
2020
ii containernetworking-plugins 1.1.1+ds1-3+b5 amd64 standard networking plugins - binaries
2121
ii coreutils 9.1-1 amd64 GNU core utilities
2222
ii cri-o 1.34.2-1.1 amd64 Open Container Initiative-based implementation of Kubernetes Container Runtime Interface
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# See https://cloud.google.com/cloud-build/docs/build-config
2+
options:
3+
substitution_option: ALLOW_LOOSE
4+
steps:
5+
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20250513-9264efb079
6+
entrypoint: make
7+
env:
8+
- DOCKER_CLI_EXPERIMENTAL=enabled
9+
- _GIT_TAG=$_GIT_TAG
10+
- _PULL_BASE_REF=$_PULL_BASE_REF
11+
args:
12+
- push-kubernetes-bootcamp
13+
substitutions:
14+
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
15+
# can be used as a substitution
16+
_GIT_TAG: '12345'
17+
# _PULL_BASE_REF will contain the ref that was pushed to to trigger this build -
18+
# a branch like 'master' or 'release-0.2', or a tag like 'v0.2'.
19+
_PULL_BASE_REF: 'master'

hack/prow/prow.mk

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,12 @@ build-mini-test: # build minitest binary
2727
setup-prow-gcp-ssh-keys: # set up ssh keys for gcloud cli. These env vars are set by test/infra
2828
mkdir -p -m 0700 ~/.ssh
2929
cp -f "${GCE_SSH_PRIVATE_KEY_FILE}" ~/.ssh/google_compute_engine
30-
cp -f "${GCE_SSH_PUBLIC_KEY_FILE}" ~/.ssh/google_compute_engine.pub
30+
cp -f "${GCE_SSH_PUBLIC_KEY_FILE}" ~/.ssh/google_compute_engine.pub
31+
32+
.PHONY: push-kubernetes-bootcamp
33+
push-kubernetes-bootcamp:
34+
docker run --rm --privileged tonistiigi/binfmt:latest --install all
35+
docker buildx create --name multiarch --bootstrap
36+
docker buildx build --builder multiarch --push --platform linux/amd64,linux/arm64 \
37+
-t us-central1-docker.pkg.dev/k8s-staging-images/minikube/kubernetes-bootcamp:$(_GIT_TAG) -t us-central1-docker.pkg.dev/k8s-staging-images/minikube/kubernetes-bootcamp:latest deploy/image/kubernetes-bootcamp
38+
docker buildx rm multiarch

pkg/minikube/assets/addons.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ var Addons = map[string]*Addon{
303303
"0640"),
304304
}, false, "kong", "3rd party (Kong HQ)", "@gAmUssA", "https://minikube.sigs.k8s.io/docs/handbook/addons/kong-ingress/", map[string]string{
305305
"Kong": "kong:3.9.1@sha256:4379444ecfd82794b27de38a74ba540e8571683dfdfce74c8ecb4018f308fb29",
306-
"KongIngress": "kong/kubernetes-ingress-controller:3.5.2@sha256:472012b0f7dca838f2b9cd8fcf6e6daeb2572631b37adb0dbb0770defeb89f04",
306+
"KongIngress": "kong/kubernetes-ingress-controller:3.5.3@sha256:e5436a3ddc2896783b55a62c4e9214a851efd2d2d241e19a0f9bc229e4fed3fd",
307307
}, map[string]string{
308308
"Kong": "docker.io",
309309
"KongIngress": "docker.io",

0 commit comments

Comments
 (0)