#38 Update docs

This commit is contained in:
Tomasz Sęk 2019-06-29 16:16:34 +02:00
parent 414ba53a1c
commit a05c496322
No known key found for this signature in database
GPG Key ID: DC356D23F6A644D0
1 changed files with 20 additions and 1 deletions

View File

@ -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: <backup_number> # 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: