From a05c496322014224065abb7832f541bdd5c42f21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20S=C4=99k?= Date: Sat, 29 Jun 2019 16:16:34 +0200 Subject: [PATCH] #38 Update docs --- docs/getting-started.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index b98a7e4f..a572f94a 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -7,7 +7,8 @@ This document describes a getting started guide for **jenkins-operator** and an 3. [Configure Seed Jobs and Pipelines](#configure-seed-jobs-and-pipelines) 4. [Install Plugins](#install-plugins) 5. [Configure Backup & Restore](#configure-backup-and-restore) -6. [Debugging](#debugging) +6. [AKS](#aks) +7. [Debugging](#debugging) ## First Steps @@ -448,6 +449,24 @@ spec: #recoveryOnce: # if want to restore specific backup configure this field and then Jenkins will be restarted and desired backup will be restored ``` +## AKS + +Azure AKS managed Kubernetes service adds to every pod the following envs: + +```yaml +- name: KUBERNETES_PORT_443_TCP_ADDR + value: +- name: KUBERNETES_PORT + value: tcp:// +- name: KUBERNETES_PORT_443_TCP + value: tcp:// +- name: KUBERNETES_SERVICE_HOST + value: +``` + +The operator is aware of it and omits these envs when checking if Jenkins pod envs have been changed. It prevents +restart Jenkins pod over and over again. + ## Debugging Turn on debug in **jenkins-operator** deployment: