Skip to content

Commit

Permalink
Add v1.25 support (#335)
Browse files Browse the repository at this point in the history
* Update nginx ingress to 1.0.1

* Update nginx.yaml.j2

* Add URLs to unblock behind a Proxy/Firewall

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* Update nginx.yaml.j2

* fix typos and format licensing paragraph readme.md

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* Update nginx.yaml.j2

* Update nginx.yaml.j2

* Discover OIDC address and DNS

Discover OIDC address and add an entry for it in /etc/hosts

* Add persistence to Keycloak

* Enable Keycloak persistence parameters

* Update all.yaml

* Update oidc.sh

* Update all.yaml

* Update main.yaml

* Update keycloak.yaml.j2

* Update keycloak-oidc.yaml

* Update keycloak-oidc.yaml

* Update nginx.yaml.j2

* Update ingress-nginx

* Update instructions.md

* Update instructions.md

* Update instructions.md

* Add configurable DNS forwarders

(cherry picked from commit 0dfa826)

* Update instructions.md

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* Update Vagrantfile

* Update Vagrantfile

* Update instructions.md

* Feature/monitoring persistance (#301)

* Add Dashboard v2 and v2.1

* Modify vars in all.yaml

* Modify instructions.md

* Modify Vagrantfile

* Delete argocd.yaml.j2

* Typo error

* Typos

* Create argocd.yams.j2

* Rename argocd.yams.j2 to argocd.yaml.j2

* Rename argocd.yaml.j2 to argocd.j2

* Update grafana.yaml.j2

Modify Grafana's dashboard Adress

* Update grafana.yaml.j2

Co-authored-by: root <[email protected]>
Co-authored-by: HaroldIlki <[email protected]>

* Update main.yaml

* add supervision namespace

* Condition Data persistence for Grafana

* Correct Grafana deployment

* Create log-centralization.yaml

* correct condition data persistence

* correct datasource condition

* change dashboard link

* Correct Variable

* correct dashboard link

* Update log-centralization.yaml.j2

* Update all.yaml

* Fix volumes

* Make it possible to change volume type

* Make it possible to change volume data type

* Make sur Loki can access /loki dir

* Change Fluent-bit toleration and privileges

* Force loki release to 2.3.0

* fix loki deployment and configMap

* Update monitoring.yaml.j2

* Update log-centralization.yaml.j2

* Fix DNS resolution for fluent-bit

* edit fluentbit input filter parser

* add agorakube_network.calico_autodetection_methode

* Add calico iface autodection custom

* add calico_autodetection_methode

* add calico_autodetection_methode

* Update instructions.md

* Update instructions.md

* Update all.yaml

* Update Vagrantfile

* Update Vagrantfile

* Add calico_autodetection_method instructions

* Update calico.yaml.j2

* Update instructions.md

* Update instructions.md

* Update instructions.md

* Fix/remove nginx update (#304)

* Update nginx.yaml.j2

* Update nginx.yaml

* Create rolling.yaml

* Update rolling.yaml

* add drain nodes

* add uncordon tasks

* Update main.yaml

* Update main.yaml

* Add rolling Upgrade information

* add CI for develop branch

* Update rolling.yaml

* Update all.yaml

* fix Trailing whitespace

* fix Trailing whitespace

* Update main.yaml

* [ImgBot] Optimize images

*Total -- 187.64kb -> 169.12kb (9.87%)

/images/AGORAKUBE.png -- 164.94kb -> 146.78kb (11.01%)
/images/agorakube-logo.svg -- 22.70kb -> 22.35kb (1.57%)

Signed-off-by: ImgBotApp <[email protected]>

* chore : use --no-cache-dir flag to pip in dockerfiles to save space

using --no-cache-dir flag in pip install, make sure downloaded packages
by pip don't cache on the system. This is a best practice that makes sure
to fetch from repo instead of using local cached one. Further, in the case
of Docker Containers, by restricting caching, we can reduce image size.
In terms of stats, it depends upon the number of python packages
multiplied by their respective size. e.g for heavy packages with a lot
of dependencies it reduces a lot by don't cache pip packages.

Further, more detailed information can be found at

https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6

Signed-off-by: Pratik Raj <[email protected]>

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* added support for cloud controller manager

* removed unused kubelet and kube-proxy unit files

* Update traefik.yaml.j2

* added cloud-controller-manager to README.md

* Update restore-etcd.yaml

* Update metrics.yaml.j2

* first pass

* Update keycloak.yaml.j2

* second pass

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* Add K8S v1.23 config for kube-scheduler

* Update Ingress Nginx

* Update nginx.yaml.j2

* Update nginx.yaml.j2

* Update all.yaml

* Update nginx.yaml.j2

* Update all.yaml

* Update instructions.md

* Update instructions.md

* Update README.md

* Update Vagrantfile

* Update Vagrantfile

* update to 1.23.5 support

* Enable etcd structured logs to file

* Update instructions.md

* Update Vagrantfile

* Update instructions.md

* Make kubelet crt valide for IP

Some tools, like metrics-server need Kubelet crt valide for IP, and not only for DNS

* Secure TLS metrics-server

* add config for etcd logs

* Update all.yaml

* add ability to cleanup /etc/hosts entries

* ensure entries are matched using ip or hostname

* ignore comments and empty lines

* updated instructions with new /etc/hosts features

* purge Agorakube

* purge Agorakube

* purge Agorakube

* purge Agorakube

* purge Agorakube

* purge Agorakube

* purge Agorakube

* purge Agorakube

* purge Agorakube

* purge Agorakube

* purge Agorakube

* purge Agorakube

* purge Agorakube

* purge Agorakube

* purge Agorakube

* Conformance specific config

* purge Agorakube

* Conformance specific config

* Conformance specific config

* Conformance specific config

* Conformance specific config

* nginx release setup

* update Readme for core Agorakube

* Remove Storage hosts

* Remove Storage hosts

* Remove Storage hosts

* Remove Storage hosts

* Remove Docker specific flag Kubelet

* Remove Storage hosts

* force job image release for Nginx

* Add info for Kubernetes dashboard Token

* update doc

* edit documentation diagram

* update PodDisruptionBudget api version

* Update README.md

* Update README.md

* Update metal-lb-layer2.yaml.j2

* Create metal-lb-ippool.yaml.j2

* Update metallb_l2.yaml

* Update metallb_l2.yaml

* Update metallb_l2.yaml

* Update metal-lb-ippool.yaml.j2

Signed-off-by: ImgBotApp <[email protected]>
Signed-off-by: Pratik Raj <[email protected]>
Co-authored-by: bryanILKI <[email protected]>
Co-authored-by: bryanILKI <[email protected]>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: robakerson <[email protected]>
Co-authored-by: Jeremy Johnson <[email protected]>
Co-authored-by: root <[email protected]>
Co-authored-by: HaroldIlki <[email protected]>
Co-authored-by: ImgBotApp <[email protected]>
Co-authored-by: Pratik Raj <[email protected]>
Co-authored-by: Aaron Johnson <[email protected]>
Co-authored-by: Aaron Johnson <[email protected]>
Co-authored-by: James McGovern <[email protected]>
Co-authored-by: pierre villard <[email protected]>
Co-authored-by: fdenin <[email protected]>
  • Loading branch information
15 people committed Sep 30, 2022
1 parent 3b47880 commit 74338a4
Show file tree
Hide file tree
Showing 5 changed files with 1,636 additions and 213 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The following items are explained in this Readme file for the Agorakube project

## What is AGORAKUBE

Agorakube is an easy-to-use, stable Kubernetes distribution (Kubernetes 1.22, 1.23, 1.24).
Agorakube is an easy-to-use, stable Kubernetes distribution.

Agorakube provides a simple, user-friendly way to deploy and manage K8S Clusters.

Expand All @@ -61,6 +61,9 @@ This project is currently under active development so other customizable options

[![asciicast](https://asciinema.org/a/Y58GrrJG3gPM6GvKsSMCZevbX.svg)](https://asciinema.org/a/Y58GrrJG3gPM6GvKsSMCZevbX)

Below is a diagram of the high-level architecture deployed by AGORAKUBE :
![Architecture](./images/AGORAKUBE_diagram.png)

## How to install

To deploy your K8S cluster follow these [instructions](docs/instructions.md).
Expand Down
26 changes: 26 additions & 0 deletions roles/post-scripts/tasks/metallb_l2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,29 @@
retries: 300
delay: 10
run_once: true

- name: Create tempdir
tempfile:
state: directory
suffix: metallbpool
register: metallbpool_tempdir
changed_when: false

- name: Render templates
template:
dest: "{{ metallbpool_tempdir.path }}/metal-lb-ippool.yaml"
src: "metal-lb-ippool.yaml.j2"
changed_when: false

- name: Apply templates
command: kubectl --kubeconfig {{ pki_path }}/kubeconfigs/admin/admin.conf apply -f {{ metallbpool_tempdir.path }}/metal-lb-ippool.yaml
register: apply_metallbpool
changed_when: >
apply_metallbpool.stdout is search("created")
or apply_metallbpool.stdout is search("configured")
- name: Cleanup tempdir
file:
state: absent
path: "{{ metallbpool_tempdir.path }}"
changed_when: false
2 changes: 1 addition & 1 deletion roles/post-scripts/templates/calico.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3852,7 +3852,7 @@ metadata:

# This manifest creates a Pod Disruption Budget for Controller to allow K8s Cluster Autoscaler to evict

apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: calico-kube-controllers
Expand Down
18 changes: 18 additions & 0 deletions roles/post-scripts/templates/metal-lb-ippool.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: first-pool
namespace: metallb-system
spec:
addresses:
- {{ agorakube_network.external_loadbalancing.ip_range }}
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: first-pool
namespace: metallb-system
spec:
ipAddressPools:
- first-pool
Loading

0 comments on commit 74338a4

Please sign in to comment.