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

Commit

Permalink
Merge pull request #19 from clastix/issue/16
Browse files Browse the repository at this point in the history
fix: add resources to manifest
  • Loading branch information
alegrey91 committed Aug 30, 2021
2 parents c5b7da5 + 0bc6756 commit 4f0662d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -9,7 +9,7 @@

In a typical kubernetes setup, we have worker nodes and master nodes. Master nodes run the api-server, the etcd database, and the controllers. These nodes implement the so-called Control Plane, i.e. the brain of your Kubernetes cluster. Worker nodes talk to the Master nodes using the Control Plane Endpoint, usually a hostname or an IP address which tells all the nodes how to reach the Control Plane.

## What problem does it solve?
## Problem Statement
In many production environments, it is desirable to have a Kubernetes Control Plane that is resilient to failure and highly available. For clusters operating in public cloud environments the options and the methodology are usually straightforward: main cloud providers as AWS, GCP, Azure, have their own HA solutions which will work very well, and these should be preferred when operating in such environments.

For private cloud deployments, and edge deployments, there are several different options, and most of them are based on hardware load-balancers. This project provides the strategy and methodology for a cheaper software solutions only. However, if you have a hardware load-balancer, that would be obviously a better option.
Expand Down
6 changes: 6 additions & 0 deletions charts/kubelived/templates/keepalived-manifest.yaml
Expand Up @@ -37,6 +37,12 @@ data:
add:
- NET_ADMIN
resources:
limits:
cpu: {{ .Values.keepalived.resources.limits.cpu }}
memory: {{ .Values.keepalived.resources.limits.memory }}
requests:
cpu: {{ .Values.keepalived.resources.requests.cpu }}
memory: {{ .Values.keepalived.resources.requests.memory }}
volumeMounts:
- mountPath: /etc/localtime
name: host-localtime
Expand Down
7 changes: 7 additions & 0 deletions charts/kubelived/values.yaml
Expand Up @@ -27,6 +27,13 @@ keepalived:
repository: bsctl/keepalived
pullPolicy: IfNotPresent
tag: '0.2.0'
resources:
limits:
cpu: 200m
memory: 128Mi
requests:
cpu: 200m
memory: 128Mi
config_path: '/etc/keepalived'
config_file: 'keepalived.conf'
health_service_name: 'apiserver'
Expand Down

0 comments on commit 4f0662d

Please sign in to comment.