Commit Graph

70 Commits (03ae214e8129b009b7a336dfa328e3eb2cb15dc2)

Author SHA1 Message Date
abhilasha2418 b2a315ffd0 feature: Create new task for building basic daemon set 2025-01-02 14:15:02 +05:30
abhilasha2418 f784557584 [en] Reduce GracePeriod to 300 sec for deploying Cassandra with a StatefulSet 2024-07-04 14:55:03 +05:30
shayan e9c7b069d5 Modify registry.k8s.io/nginx-slim version from 0.8 to 0.24 2024-06-04 11:10:02 +03:30
tomoaki-ii b798f42d06
Update web.yaml
Change the container image of the Statefulset in the first document(application/web/web.yaml ) to registry.k8s.io/nginx-slim:0.7
2024-05-14 14:15:25 +09:00
Kubernetes Prow Robot 35a38cf349
Merge pull request #44290 from azn-abel/44190
Replaced unavailable image in https://k8s.io/docs/tutorials/stateless-application/guestbook/
2024-01-09 15:07:13 +01:00
Kubernetes Prow Robot 28c702a195
Merge pull request #44095 from sftim/20231126_improve_job_tutorials
Improve tutorials for Job
2023-12-21 18:21:31 +01:00
Abel Lu eda3bed86c Update gb-redis-follower image to Google's newer image 2023-12-19 13:05:40 -05:00
Abel Lu 1d8c8700ef Replaced unavailable image for guestbook tutorial for issues #44190 #44415 #44224 #44277 2023-12-19 12:12:19 -05:00
Tim Bannister 7e75688d69 Improve tutorials for Job
Co-authored-by: Kundan Kumar <kundan.kumar@india.nec.com>
2023-12-07 19:49:24 +00:00
MeenuyD 362d083ac7 fix:HorizontalPodAutoscaler Walkthrough uses autoscaling/v1 resource 2023-10-25 22:33:33 +05:30
qingwave 0a1909c694 sidecar container example use retry tail 2023-08-16 09:10:59 +00:00
Ruyi Guo 0a7a3e0e61
Update content/en/examples/application/deployment-sidecar.yaml
Co-authored-by: Gunju Kim <gjkim042@gmail.com>
2023-08-16 16:24:18 +08:00
qingwave a0cbba38a9 fix sidecar example in init-container doc 2023-08-16 07:49:51 +00:00
Matthias Bertschy fde22b5031 adding Sidecar Containers alpha feature
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
2023-08-01 17:13:12 +02:00
J.P. Dowd b1740c8dad Remove unneeded quotes. 2023-06-19 12:20:56 -04:00
J.P. Dowd 602b20bcf4 Update images to mySQL 8.0 and Wordpress 6.2.1. This example will now work on ARM based systems (Macbook M1 chips+).
Configured database image to create the required database and a non-root user for the Wordpress site.
2023-06-19 11:52:11 -04:00
Qiming Teng 7a3ca9e383 Fix Deployment YAML used for SSA 2023-01-29 21:46:12 +08:00
Qiming Teng 2a80b2609d Fix examples and test cases
There are examples oversighted by the test case.
This PR adds those paths to the test case and fixes the errors
identified.
2023-01-02 16:36:51 +08:00
Rob 7da0167da6
Removed deployment replica count 2022-12-07 20:11:09 +00:00
Esteban Cano 32b5c6184b
updated nginx version to follow examples correctly
following examples https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/#scaling-the-application-by-increasing-the-replica-count
If you update replicas from 2 to 4 using the last deployment yaml, nginx version was 1.16.1, so 2 containers were already created and 2 new ones (that's why the table referenced as "The output is similar to this" shows AGE as 25s and 2m). If this deployment has nginx version 1.14.2, all containers will be recreated instead of just adding 2, so it can be confusing for the newcomers
2022-11-19 18:04:55 -03:00
Intimaria 9283a6905c
Update mysql-statefulset.yaml
As per the issue #35432, hostname command is no longer available as mysql:5.7 is based on oracle. 
For the command on line 27 to work, it is sufficient to use the $HOSTNAME variable which is set in the container,
for it to work effectively.
2022-09-04 22:26:22 -03:00
Arnaud Meukam a180cd6853
Update docs to reference new container image registry
k8s.gcr.io is deprecated in favor of registry.k8s.io. The kubernetes
codebase have been updated with the new endpoint.

Ref: https://github.com/kubernetes/k8s.io/issues/3411

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
2022-08-18 16:35:26 +02:00
Rishit Dagli 83fdfc0651 Update mysql-statefulset.yaml 2022-06-23 10:39:53 +00:00
Tim Bannister 37400750f6 Add recommended labels 2022-06-20 10:57:01 +01:00
Mengjiao Liu efcaf3f3ea Revert an incorrect fix in mysql-configmap.yaml 2022-05-12 21:23:26 +08:00
wei.wang 68dbecde3a [zh]Update content/zh/examples/application/mysql/mysql-services.yaml 2022-04-25 23:36:20 +08:00
Mengjiao Liu 812dafd7ef Fix mysql-configmap.yaml error 2022-04-12 12:05:40 +08:00
Thomas Guettler 7122a4498a fix busybox image to 1.28 (issues with `nslookup`).
Changes where done with these commands:

reprec 'image: busybox(?!:)' 'image: busybox:1.28' */docs */examples
reprec -- '--image=busybox(?!:)' '--image=busybox:1.28' */docs */examples

Related issues:

 https://github.com/docker-library/busybox/issues/48
 https://github.com/kubernetes/kubernetes/issues/66924
2022-03-02 20:48:26 +01:00
Tammer Saleh 19845f593e The `schedule: "*/1 * * * *"` is the same as "* * * * *" 2021-12-29 00:19:02 +00:00
Shubham Kuchhal 21ca9a224f Add MongoDB deployment and service. 2021-06-21 18:27:52 +05:30
Jim Angel ff0018b97e updating tutorial to match source 2021-06-17 18:45:40 +00:00
Kubernetes Prow Robot 836fb1c8d1
Merge pull request #27246 from vajdaz/master
Fix typo in worker.py example script
2021-05-19 00:52:51 -07:00
Zoltan Vajda a8adf49a78 Fix typo in worker.py example script 2021-03-30 14:24:34 +02:00
Morten Torkildsen d341b96fb3 Promote Pod Disruption Budgets to GA 2021-03-29 19:58:50 -07:00
Kubernetes Prow Robot b8a717edf1
Merge pull request #27083 from soltysh/cronjob_ga
Update docs for CronJob GA
2021-03-28 23:08:44 -07:00
Maciej Szulik dba902447c
Update docs for CronJob GA 2021-03-26 16:51:42 +01:00
Aldo Culquicondor 552566fcfa Documentation for Indexed completion mode
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2021-03-16 16:54:44 -04:00
Miguel Angel Garcia a6eb08d778 fix cronjob code for examples 2021-02-11 12:24:35 +01:00
Paul Czarkowski 99029b97d7 Remove Master/Slave terminology from stateless application tutorial.
The stateless application tutorial is littered with unsuitable terminology. This update switches the database technology to a database that has already updated their own terminology as well as removes the terminology from the tutorial itself.

The advanced logging tutorial followup is set to Draft as it will take a larger effort to convert that, and I'm not convinced its even in a working state right now.

A followup PR to the examples repo to be referenced here will be made.

Addresses #22918

Signed-off-by: Paul Czarkowski <username.taken@gmail.com>

address comments in PR

Signed-off-by: Paul Czarkowski <username.taken@gmail.com>

remove confusing comment about dns, we can assume k8s has kube-dns

Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
2021-01-19 04:19:23 +00:00
Naoki Oketani f5f40c16f9 clean up too old comments for v1.9 or before in examples 2021-01-09 16:13:00 +09:00
Kubernetes Prow Robot f2a78fa5d5
Merge pull request #23119 from devries/statefulset-mysql-language
Replace master/slave with primary/replica in MySQL StatefulSet example
2020-12-02 01:04:50 -08:00
Zhang Yong f979037143 CronJob example should include imagePullPolicy: IfNotPresent 2020-11-30 10:19:00 +08:00
Christopher Montoro 7fc8f1a220
Update the example for kubectl port-forward
Clarify that `REMOTE_PORT` is interpreted as identifying a _Service_ port when provided `TYPE` is `service`.
Also, highlight support for specifying a named port as `REMOTE_PORT`.
2020-10-07 22:02:37 -04:00
Christopher De Vries 4bb76cd0fb Change secondary to replica and use primary as an adjective consistently 2020-08-14 08:04:50 -04:00
Christopher De Vries 044d11de32 Replace master/slave with primary/secondary where possible 2020-08-13 08:59:24 -04:00
Joe Betz 648508c051 Add transferring ownership section to api concepts 2020-07-20 12:01:52 -07:00
Qiming Teng faa5a441fd Fix example tests for English site 2020-06-24 19:10:14 +08:00
Philippe Martin a478fa6610 Document retainKeys patch strategy 2020-06-10 16:23:17 +02:00
James Spurin c8975f90c7 remove default namespace from referenced yaml file 2020-04-25 18:16:44 +01:00
inductor 4297f3b29c
Update nginx to modern versions (#19198)
* update nginx versions

* update

* update examples
2020-03-17 10:48:23 -07:00