Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Schmaetz committed Mar 12, 2024
1 parent 56b0114 commit b30920e
Show file tree
Hide file tree
Showing 37 changed files with 1,051 additions and 888 deletions.
8 changes: 4 additions & 4 deletions public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
href="/CYBERTEC-pg-operator/custom.css"
media="all"
/>
<base href="http://localhost:1313/CYBERTEC-pg-operator/" />
<base href="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/" />

<!-- Made with Geekdoc theme https://github.com/thegeeklab/hugo-geekdoc -->

Expand All @@ -108,7 +108,7 @@
<div class="container flex align-center justify-between">

<div>
<a class="gdoc-brand gdoc-header__link" href="http://localhost:1313/CYBERTEC-pg-operator/">
<a class="gdoc-brand gdoc-header__link" href="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/">
<span class="flex align-center">
<img
class="gdoc-brand__img"
Expand Down Expand Up @@ -181,7 +181,7 @@
</span>

<span class="gdoc-menu-header__home">
<a href="http://localhost:1313/CYBERTEC-pg-operator/" class="gdoc-header__link">
<a href="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/" class="gdoc-header__link">
<svg class="gdoc-icon gdoc_home">
<title>Back to homepage</title>
<use xlink:href="#gdoc_home"></use>
Expand Down Expand Up @@ -223,7 +223,7 @@
<div class="gdoc-error__line gdoc-error__title">Lost?</div>
<div class="gdoc-error__line gdoc-error__code">Error 404</div>
<div class="gdoc-error__line gdoc-error__help">
Seems like what you are looking for can't be found. Don't worry, we can bring you back to the <a class="gdoc-error__link" href="http://localhost:1313/CYBERTEC-pg-operator/">homepage</a>.
Seems like what you are looking for can't be found. Don't worry, we can bring you back to the <a class="gdoc-error__link" href="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/">homepage</a>.

</div>
</div>
Expand Down
41 changes: 10 additions & 31 deletions public/documentation/cluster/ha-cluster/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
spec: numberOfInstances: 2 # or more The example above will create a HA-Cluster based on two Nodes.
kubectl get pods ----------------------------------------------------------------------------- NAME | READY | STATUS | RESTARTS | AGE cluster-1-0 | 1/1 | Running | 0 | 54s cluster-1-1 | 1/1 | Running | 0 | 31s " />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/ha-cluster/" />
<meta property="og:url" content="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/ha-cluster/" />

<meta property="article:section" content="Documentation" />
<meta
Expand All @@ -70,7 +70,7 @@
"@type": "TechArticle",
"articleSection": "Documentation",
"name": "High Availability Cluster (HA)",
"url" : "http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/ha-cluster/",
"url" : "https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/ha-cluster/",
"headline": "High Availability Cluster (HA)",
"description": "To ensure continiues productive usage you can create a HA-Cluster or modify a Single-Node-Cluster to a HA-Cluster. The needed changes are less complicated\nspec: numberOfInstances: 2 # or more The example above will create a HA-Cluster based on two Nodes.\nkubectl get pods ----------------------------------------------------------------------------- NAME | READY | STATUS | RESTARTS | AGE cluster-1-0 | 1\/1 | Running | 0 | 54s cluster-1-1 | 1\/1 | Running | 0 | 31s ",
"wordCount" : "71",
Expand All @@ -79,7 +79,7 @@
"isFamilyFriendly": "true",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/ha-cluster/"
"@id": "https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/ha-cluster/"
},
"copyrightHolder" : "CYBERTEC-PG-Operator",
"copyrightYear" : "2023",
Expand All @@ -89,10 +89,10 @@
"publisher":{
"@type":"Organization",
"name": "CYBERTEC-PG-Operator",
"url": "http://localhost:1313/CYBERTEC-pg-operator/",
"url": "https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/",
"logo": {
"@type": "ImageObject",
"url": "http://localhost:1313/CYBERTEC-pg-operator/brand.svg",
"url": "https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/brand.svg",
"width":"32",
"height":"32"
}
Expand Down Expand Up @@ -163,8 +163,8 @@
href="/CYBERTEC-pg-operator/custom.css"
media="all"
/>
<link href="http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/ha-cluster/" rel="canonical" type="text/html" />
<base href="http://localhost:1313/CYBERTEC-pg-operator/" />
<link href="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/ha-cluster/" rel="canonical" type="text/html" />
<base href="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/" />

<!-- Made with Geekdoc theme https://github.com/thegeeklab/hugo-geekdoc -->

Expand Down Expand Up @@ -201,7 +201,7 @@
</label>

<div>
<a class="gdoc-brand gdoc-header__link" href="http://localhost:1313/CYBERTEC-pg-operator/">
<a class="gdoc-brand gdoc-header__link" href="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/">
<span class="flex align-center">
<img
class="gdoc-brand__img"
Expand Down Expand Up @@ -274,7 +274,7 @@
</span>

<span class="gdoc-menu-header__home">
<a href="http://localhost:1313/CYBERTEC-pg-operator/" class="gdoc-header__link">
<a href="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/" class="gdoc-header__link">
<svg class="gdoc-icon gdoc_home">
<title>Back to homepage</title>
<use xlink:href="#gdoc_home"></use>
Expand Down Expand Up @@ -321,7 +321,7 @@
placeholder="Search..."
aria-label="Search"
maxlength="64"
data-site-base-url="http://localhost:1313/CYBERTEC-pg-operator/"
data-site-base-url="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/"
data-site-lang="en"
/>
<ul id="gdoc-search-results" class="gdoc-search__list"></ul>
Expand Down Expand Up @@ -872,27 +872,6 @@ <h2>Navigation</h2>



<input
type="checkbox"

class="hidden"

/>
<label

>
<span class="flex">

<a
href="/CYBERTEC-pg-operator/documentation/operator/migrateToNewApi"
class="gdoc-nav__entry"
>
Migrate to new API
</a>
</span>

</label>




Expand Down
41 changes: 10 additions & 31 deletions public/documentation/cluster/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
/>
<meta property="og:site_name" content="CYBERTEC-PG-Operator" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/" />
<meta property="og:url" content="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/" />

<meta property="article:section" content="Documentation" />
<meta
Expand All @@ -61,15 +61,15 @@
"@type": "TechArticle",
"articleSection": "Documentation",
"name": "Documentation",
"url" : "http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/",
"url" : "https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/",
"headline": "Documentation",
"wordCount" : "0",
"license": "CC BY-SA 4.0",
"inLanguage": "en",
"isFamilyFriendly": "true",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/"
"@id": "https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/"
},
"copyrightHolder" : "CYBERTEC-PG-Operator",
"copyrightYear" : "2023",
Expand All @@ -79,10 +79,10 @@
"publisher":{
"@type":"Organization",
"name": "CYBERTEC-PG-Operator",
"url": "http://localhost:1313/CYBERTEC-pg-operator/",
"url": "https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/",
"logo": {
"@type": "ImageObject",
"url": "http://localhost:1313/CYBERTEC-pg-operator/brand.svg",
"url": "https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/brand.svg",
"width":"32",
"height":"32"
}
Expand Down Expand Up @@ -153,8 +153,8 @@
href="/CYBERTEC-pg-operator/custom.css"
media="all"
/>
<link href="http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/" rel="canonical" type="text/html" />
<base href="http://localhost:1313/CYBERTEC-pg-operator/" />
<link href="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/" rel="canonical" type="text/html" />
<base href="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/" />

<!-- Made with Geekdoc theme https://github.com/thegeeklab/hugo-geekdoc -->

Expand Down Expand Up @@ -191,7 +191,7 @@
</label>

<div>
<a class="gdoc-brand gdoc-header__link" href="http://localhost:1313/CYBERTEC-pg-operator/">
<a class="gdoc-brand gdoc-header__link" href="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/">
<span class="flex align-center">
<img
class="gdoc-brand__img"
Expand Down Expand Up @@ -264,7 +264,7 @@
</span>

<span class="gdoc-menu-header__home">
<a href="http://localhost:1313/CYBERTEC-pg-operator/" class="gdoc-header__link">
<a href="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/" class="gdoc-header__link">
<svg class="gdoc-icon gdoc_home">
<title>Back to homepage</title>
<use xlink:href="#gdoc_home"></use>
Expand Down Expand Up @@ -311,7 +311,7 @@
placeholder="Search..."
aria-label="Search"
maxlength="64"
data-site-base-url="http://localhost:1313/CYBERTEC-pg-operator/"
data-site-base-url="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/"
data-site-lang="en"
/>
<ul id="gdoc-search-results" class="gdoc-search__list"></ul>
Expand Down Expand Up @@ -862,27 +862,6 @@ <h2>Navigation</h2>



<input
type="checkbox"

class="hidden"

/>
<label

>
<span class="flex">

<a
href="/CYBERTEC-pg-operator/documentation/operator/migrateToNewApi"
class="gdoc-nav__entry"
>
Migrate to new API
</a>
</span>

</label>




Expand Down
20 changes: 10 additions & 10 deletions public/documentation/cluster/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,38 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Documentation on CYBERTEC-PG-Operator</title>
<link>http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/</link>
<link>https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/</link>
<description>Recent content in Documentation on CYBERTEC-PG-Operator</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
<lastBuildDate>Thu, 28 Dec 2023 14:26:51 +0100</lastBuildDate>
<atom:link href="http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/index.xml" rel="self" type="application/rss+xml" />
<atom:link href="https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>High Availability Cluster (HA)</title>
<link>http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/ha-cluster/</link>
<link>https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/ha-cluster/</link>
<pubDate>Thu, 28 Dec 2023 14:26:51 +0100</pubDate>
<guid>http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/ha-cluster/</guid>
<guid>https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/ha-cluster/</guid>
<description>To ensure continiues productive usage you can create a HA-Cluster or modify a Single-Node-Cluster to a HA-Cluster. The needed changes are less complicated&#xA;spec: numberOfInstances: 2 # or more The example above will create a HA-Cluster based on two Nodes.&#xA;kubectl get pods ----------------------------------------------------------------------------- NAME | READY | STATUS | RESTARTS | AGE cluster-1-0 | 1/1 | Running | 0 | 54s cluster-1-1 | 1/1 | Running | 0 | 31s </description>
</item>
<item>
<title>Modify Cluster</title>
<link>http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/modify-cluster/</link>
<link>https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/modify-cluster/</link>
<pubDate>Thu, 28 Dec 2023 14:26:51 +0100</pubDate>
<guid>http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/modify-cluster/</guid>
<guid>https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/modify-cluster/</guid>
<description>Starting with the Single-Node-Cluster from the previous section, we want to modify the Instance a bit to see.&#xA;CPU and Memory spec: resources: limits: cpu: 1000m memory: 500Mi requests: cpu: 500m memory: 500mi Based on the ressources-Definiton we&amp;rsquo;re able to modify the reserved Hardware (requests) and the limits, which allows use to consume more than the reserved definitons if the k8s-worker has this hardware available. There are some Restrictions when modifiying the limits-section.</description>
</item>
<item>
<title>Single Cluster</title>
<link>http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/single-cluster/</link>
<link>https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/single-cluster/</link>
<pubDate>Thu, 28 Dec 2023 14:26:51 +0100</pubDate>
<guid>http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/single-cluster/</guid>
<guid>https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/single-cluster/</guid>
<description>Setting up a basic Cluster is pretty easy, we just need the minimum Definiton of a cluster-manifest which can also be find in the operator-tutorials repo on github. We need the following Definitions for the basic cluster.&#xA;minimal Single Cluster apiVersion: cpo.opensource.cybertec.at/v1 kind: postgresql metadata: name: cluster-1 spec: dockerImage: &amp;#34;docker.io/cybertecpostgresql/cybertec-pg-container:postgres-16.1-6-dev&amp;#34; numberOfInstances: 1 postgresql: version: &amp;#34;16&amp;#34; resources: limits: cpu: 500m memory: 500Mi requests: cpu: 500m memory: 500Mi volume: size: 5Gi Based on this Manifest the Operator will deploy a single-Node-Cluster based on the defined dockerImage and start the included Postgres-16-Server.</description>
</item>
<item>
<title>Start with Monitoring</title>
<link>http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/monitoring/</link>
<link>https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/monitoring/</link>
<pubDate>Thu, 28 Dec 2023 14:26:51 +0100</pubDate>
<guid>http://localhost:1313/CYBERTEC-pg-operator/documentation/cluster/monitoring/</guid>
<guid>https://cybertec-postgresql.github.io:1313/CYBERTEC-pg-operator/documentation/cluster/monitoring/</guid>
<description>The CPO-Project has prepared severall Tools which allows to setup a Monitoring-Stack including Alerting and Metric-Viewer. These Stack is based on:&#xA;Prometheus Alertmanager Grafana exporter-container CPO has prepared an own Exporter for the PostgreSQl-Pod which can used as a sidecar.&#xA;Setting up the Monitoring Stack To setup the Monitoring-Stack we suggest that you create an own namespace and use the prepared kustomization file inside the Operator-Tutorials.&#xA;$ kubectl create namespace cpo-monitoring namespace/cpo-monitoring created $ kubectl get pods -n cpo-monitoring No resources found in cpo-monitoring namespace.</description>
</item>
</channel>
Expand Down
Loading

0 comments on commit b30920e

Please sign in to comment.