Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Update k8s-deployment.yaml with latest config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
thrawn01 committed Jan 13, 2021
1 parent 34a19c0 commit d527616
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.0-rc.6] - 2020-12-21
## Changes
* Update the k8s example to reflect the latest changes from the release
candidate.

## [1.0.0-rc.5] - 2020-12-21
## Changes
* Respect SIGTERM from docker during shutdown
Expand Down
10 changes: 10 additions & 0 deletions k8s-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
# Must set the GRPC and HTTP addresses, as gubernator
# defaults to listening on localhost only
- name: GUBER_GRPC_ADDRESS
value: 0.0.0.0:81
- name: GUBER_HTTP_ADDRESS
value: 0.0.0.0:80
# Use the k8s API for peer discovery
- name: GUBER_PEER_DISCOVERY_TYPE
value: "k8s"
Expand All @@ -44,6 +50,10 @@ spec:
# should only select gubernator peers.
- name: GUBER_K8S_ENDPOINTS_SELECTOR
value: "app=gubernator"
# Gubernator can watch 'endpoints' for changes to the peers
# or it can watch 'pods' (Defaults to 'endpoints')
# - name: GUBER_K8S_WATCH_MECHANISM
# value: "endpoints"
# Enable debug for diagnosing issues
- name: GUBER_DEBUG
value: "true"
Expand Down

0 comments on commit d527616

Please sign in to comment.