> For the complete documentation index, see [llms.txt](https://experience-digital-transform.gitbook.io/experience-digital-transformation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://experience-digital-transform.gitbook.io/experience-digital-transformation/sovereign-cloud-stack/4.-scs-container-registry-harbor/4.2-quickstart-and-production-deployment.md).

# 4.2 Quickstart and Production Deployment

## Quickstart Guide

Prepare the environment — install prerequisites (KinD, Helm, Docker, kubectl, Flux CLI).

Create a KinD cluster:

```bash
kind create cluster
```

Install flux into the cluster:

```bash
curl -s https://fluxcd.io/install.sh | sudo FLUX_VERSION=2.2.3 bash
flux install
```

Install Harbor using Helm — clone the SCS Harbor deployment repository:

```bash
git clone https://github.com/SovereignCloudStack/k8s-harbor.git
```

Install using the provided Kustomize manifest:

```bash
kubectl apply -k k8s-harbor/envs/dev/
```

Make it accessible on localhost:

```bash
kubectl port-forward svc/harbor 8080:80
```

Accessing the Harbor UI and CLI — username: `admin`, password: `Harbor12345`, at `http://localhost:8080`.

**Assignments:** (1) install prerequisites for Harbor; (2) create a Kubernetes cluster; (3) using the SCS Harbor Helm chart, install a registry service into the cluster; (4) setup and verify access; (5) push an image into the registry and verify through the UI.

## SCS production deployment

**Prerequisites**

* Kubernetes cluster version >= 1.20: `export KUBECONFIG=/path/to/kubeconfig`.
* Flux CLI (it is part of SCS KaaS V1):

```bash
# Installation documentation: https://fluxcd.io/flux/installation/#install-the-flux-cli
curl -s https://fluxcd.io/install.sh | sudo FLUX_VERSION=2.2.3 bash
flux install
```

* kubectl.

**Harbor installation**

Take the ingress-nginx-controller LoadBalancer IP address and create a DNS record for Harbor:

```bash
kubectl get svc -n ingress-nginx
```

Secrets generation and installation:

```bash
base/harbor-secrets.bash # pwgen and htpasswd need to be installed
envs/public/s3-credentials.bash <accesskey> <secretkey>
kubectl apply -k envs/public/
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://experience-digital-transform.gitbook.io/experience-digital-transformation/sovereign-cloud-stack/4.-scs-container-registry-harbor/4.2-quickstart-and-production-deployment.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
