Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation rendering for GitHub Pages #1558

Merged
merged 3 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Change Log

## [master](https://github.com/arangodb/kube-arangodb/tree/master) (N/A)
- (Documentation) Improve documentation rendering for GitHub Pages

## [1.2.36](https://github.com/arangodb/kube-arangodb/tree/1.2.36) (2024-01-08)
- (Documentation) Improvements and fixes for rendered documentation (GH pages)
Expand Down
22 changes: 17 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,29 @@

[![Docker Pulls](https://img.shields.io/docker/pulls/arangodb/kube-arangodb.svg)](https://hub.docker.com/r/arangodb/kube-arangodb/)

ArangoDB Kubernetes Operator helps to run ArangoDB deployments
on Kubernetes clusters.
The ArangoDB Kubernetes Operator (`kube-arangodb`) is a set of operators
that you deploy in your Kubernetes cluster to:
- Manage deployments of the [ArangoDB database](https://arangodb.com/)
- Manage backups
- Provide `PersistentVolumes` on local storage of your nodes for optimal storage performance.
- Configure ArangoDB Datacenter-to-Datacenter Replication

Each of these uses involves a different custom resource:
- Use an [ArangoDeployment resource](docs/deployment-resource-reference.md) to create an ArangoDB database deployment.
- Use an [ArangoMember resource](docs/api/ArangoMember.V1.md) to observe and adjust individual deployment members.
- Use an [ArangoBackup](docs/backup-resource.md) and [ArangoBackupPolicy](docs/backuppolicy-resource.md) resources to create ArangoDB backups.
- Use an [ArangoLocalStorage resource](docs/storage-resource.md) to provide local `PersistentVolumes` for optimal I/O performance.
- Use an [ArangoDeploymentReplication resource](docs/deployment-replication-resource-reference.md) to configure ArangoDB Datacenter-to-Datacenter Replication.

Continue with [Using the ArangoDB Kubernetes Operator](docs/using-the-operator.md)
to learn how to install the ArangoDB Kubernetes operator and create your first deployment.

To get started, follow the Installation instructions below and/or
read the [tutorial](docs/using-the-operator.md).

## State

The ArangoDB Kubernetes Operator is Production ready.

[Documentation](docs/README.md)
[Documentation](https://arangodb.github.io/kube-arangodb/)

### Limits

Expand Down
56 changes: 0 additions & 56 deletions docs/README.md

This file was deleted.

6 changes: 6 additions & 0 deletions docs/api/ArangoBackup.V1.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
parent: CRD reference
title: ArangoBackup V1
---

# API Reference for ArangoBackup V1

## Spec
Expand Down
6 changes: 6 additions & 0 deletions docs/api/ArangoBackupPolicy.V1.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
parent: CRD reference
title: ArangoBackupPolicy V1
---

# API Reference for ArangoBackupPolicy V1

## Spec
Expand Down
6 changes: 6 additions & 0 deletions docs/api/ArangoDeployment.V1.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
parent: CRD reference
title: ArangoDeployment V1
---

# API Reference for ArangoDeployment V1

## Spec
Expand Down
6 changes: 6 additions & 0 deletions docs/api/ArangoDeploymentReplication.V1.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
parent: CRD reference
title: ArangoDeploymentReplication V1
---

# API Reference for ArangoDeploymentReplication V1

## Spec
Expand Down
6 changes: 6 additions & 0 deletions docs/api/ArangoLocalStorage.V1Alpha.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
parent: CRD reference
title: ArangoLocalStorage V1Alpha
---

# API Reference for ArangoLocalStorage V1Alpha

## Spec
Expand Down
6 changes: 6 additions & 0 deletions docs/api/ArangoMLBatchJob.V1Alpha1.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
parent: CRD reference
title: ArangoMLBatchJob V1Alpha1
---

# API Reference for ArangoMLBatchJob V1Alpha1

## Spec
Expand Down
6 changes: 6 additions & 0 deletions docs/api/ArangoMLCronJob.V1Alpha1.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
parent: CRD reference
title: ArangoMLCronJob V1Alpha1
---

# API Reference for ArangoMLCronJob V1Alpha1

## Spec
Expand Down
6 changes: 6 additions & 0 deletions docs/api/ArangoMLExtension.V1Alpha1.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
parent: CRD reference
title: ArangoMLExtension V1Alpha1
---

# API Reference for ArangoMLExtension V1Alpha1

## Spec
Expand Down
6 changes: 6 additions & 0 deletions docs/api/ArangoMLStorage.V1Alpha1.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
parent: CRD reference
title: ArangoMLStorage V1Alpha1
---

# API Reference for ArangoMLStorage V1Alpha1

## Spec
Expand Down
6 changes: 6 additions & 0 deletions docs/api/ArangoMember.V1.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
parent: CRD reference
title: ArangoMember V1
---

# API Reference for ArangoMember V1

## Spec
Expand Down
19 changes: 6 additions & 13 deletions docs/api/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
# Custom Resources API Reference

- [ArangoBackup.V1](./ArangoBackup.V1.md)
- [ArangoBackupPolicy.V1](./ArangoBackupPolicy.V1.md)
- [ArangoDeployment.V1](./ArangoDeployment.V1.md)
- [ArangoDeploymentReplication.V1](./ArangoDeploymentReplication.V1.md)
- [ArangoLocalStorage.V1Alpha](./ArangoLocalStorage.V1Alpha.md)
- [ArangoMLBatchJob.V1Alpha1](./ArangoMLBatchJob.V1Alpha1.md)
- [ArangoMLCronJob.V1Alpha1](./ArangoMLCronJob.V1Alpha1.md)
- [ArangoMLExtension.V1Alpha1](./ArangoMLExtension.V1Alpha1.md)
- [ArangoMLStorage.V1Alpha1](./ArangoMLStorage.V1Alpha1.md)
- [ArangoMember.V1](./ArangoMember.V1.md)

---
layout: page
title: CRD reference
has_children: true
nav_order: 3
---
6 changes: 6 additions & 0 deletions docs/backup-resource.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
parent: Custom resources overview
title: ArangoBackup
---

# ArangoBackup Custom Resource

[Full CustomResourceDefinition reference ->](./api/ArangoBackup.V1.md)
Expand Down
6 changes: 6 additions & 0 deletions docs/backuppolicy-resource.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
parent: Custom resources overview
title: ArangoBackupPolicy
---

# ArangoBackupPolicy Custom Resource

[Full CustomResourceDefinition reference ->](./api/ArangoBackupPolicy.V1.md)
Expand Down
8 changes: 8 additions & 0 deletions docs/crds.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
layout: page
has_children: true
title: Custom resources overview
nav_order: 4
has_toc: false
---

# Custom resources overview

Main CRDs:
Expand Down
6 changes: 6 additions & 0 deletions docs/dashboards.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
nav_order: 20
title: Operator dashboard
---

# Deployment Operator Dashboards

### Dashboard UI now is deprecated and will be removed in next minor version
11 changes: 11 additions & 0 deletions docs/deployment-replication-resource-reference.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
parent: Custom resources overview
title: ArangoDeploymentReplication
---

# ArangoDeploymentReplication Custom Resource

#### Enterprise Edition only
Expand Down Expand Up @@ -90,10 +96,12 @@ running in Kubernetes:

2. Extract the access package from the source ArangoDB cluster.

<!-- {% raw %} -->
```bash
kubectl get secret src-accesspackage --template='{{index .data "accessPackage.yaml"}}' | \
base64 -D > accessPackage.yaml
```
<!-- {% endraw %} -->

3. Configure the source DNS names.

Expand Down Expand Up @@ -232,9 +240,12 @@ The process for creating and using an access package for authentication at the s
- Wait for the `ArangoDeployment` operator to create a `Secret` named `my-access-package`.
- Extract the access package from the Kubernetes source cluster using:


<!-- {% raw %} -->
```bash
kubectl get secret my-access-package --template='{{index .data "accessPackage.yaml"}}' | base64 -D > accessPackage.yaml
```
<!-- {% endraw %} -->

- Insert the secrets found in the access package in the Kubernetes destination cluster using:

Expand Down
6 changes: 6 additions & 0 deletions docs/deployment-resource-reference.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
parent: Custom resources overview
title: ArangoDeployment
---

# ArangoDeployment Custom Resource Overview

[Full CustomResourceDefinition reference ->](./api/ArangoDeployment.V1.md)
Expand Down
17 changes: 6 additions & 11 deletions docs/design/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
# ArangoDB operator architecture overview
---
layout: page
title: Design overview
has_children: true
nav_order: 5
---

- [Operator API](./api.md)
- [Backups](./backup.md)
- [Constraints for high-availability](./constraints.md)
- [ArangoDB Exporter](./exporter.md)
- [Health](./health.md)
- [Lifecycle hooks and Finalizers](./lifecycle_hooks_and_finalizers.md)
- [Pod eviction and replacement](./pod_eviction_and_replacement.md)
- [Kubernetes Pod name versus cluster ID](./pod_name_versus_cluster_id.md)
- [Resources & labels](./resources_and_labels.md)
- [Topology awareness](./topology_awareness.md)
6 changes: 6 additions & 0 deletions docs/design/api.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
title: Operator API
parent: Design overview
---

# Operator API

A running operator exposes HTTP and gRPC API listeners to allow retrieving and setting some configuration values programmatically.
Expand Down
6 changes: 6 additions & 0 deletions docs/design/backup.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
title: Backups
parent: Design overview
---

# ArangoBackup

## Lifetime
Expand Down
6 changes: 6 additions & 0 deletions docs/design/constraints.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
title: Constraints
parent: Design overview
---

# Constraints

The ArangoDB operator tries to honor various constraints to support high availability of
Expand Down
6 changes: 6 additions & 0 deletions docs/design/exporter.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
title: ArangoDB Metrics
parent: Design overview
---

# ArangoDB Exporter for Prometheus

This exporter exposes the statistics provided by a specific ArangoDB instance
Expand Down
6 changes: 6 additions & 0 deletions docs/design/health.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
title: Health checks
parent: Design overview
---

# Health checks

## Liveness Probe
Expand Down
6 changes: 6 additions & 0 deletions docs/design/lifecycle_hooks_and_finalizers.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
title: Lifecycle hooks and Finalizers
parent: Design overview
---

# Lifecycle hooks & Finalizers

The ArangoDB operator expects full control of the `Pods` and `PersistentVolumeClaims` it creates.
Expand Down
6 changes: 6 additions & 0 deletions docs/design/pod_eviction_and_replacement.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: page
title: Pod eviction and replacement
parent: Design overview
---

# Pod Eviction & Replacement

This chapter specifies the rules around evicting pods from nodes and
Expand Down
Loading