### Full example with external instances Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/install.md Example configuration with external PostgreSQL and Redis. ```yaml apiVersion: deckhouse.io/v1alpha1 kind: ModuleConfig metadata: name: development-platform spec: enabled: true version: 1 settings: rbac: superAdminEmail: admin@deckhouse.io security: secretKey: "16charssecretkey" postgres: mode: external host: postgres.production.example.com port: 5432 database: ddp username: ddp_user password: secure_postgres_password redis: mode: external host: redis.production.example.com port: 6379 database: "0" password: secure_redis_password ``` -------------------------------- ### Explain Command Example Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/datasources/types.ru.md Example command to find the Group and Version for a Kubernetes resource. ```bash d8 k explain deployment ``` -------------------------------- ### Explain Command Output Example Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/datasources/types.ru.md Example output of the 'd8 k explain' command showing GROUP, KIND, and VERSION. ```yaml GROUP: apps KIND: Deployment VERSION: v1 DESCRIPTION: Deployment enables declarative updates for Pods and ReplicaSets. FIELDS: ... ``` -------------------------------- ### Deployment Resource Specification Example Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/datasources/types.ru.md Example output showing the specification of a Kubernetes Deployment resource. ```yaml GROUP: apps KIND: Deployment VERSION: v1 DESCRIPTION: Deployment enables declarative updates for Pods and ReplicaSets. FIELDS: apiVersion kind metadata annotations creationTimestamp ... ``` -------------------------------- ### ModuleConfig for external PostgreSQL Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/install.md This configuration specifies connection parameters for an external PostgreSQL instance. ```yaml apiVersion: deckhouse.io/v1alpha1 kind: ModuleConfig metadata: name: development-platform spec: enabled: true version: 1 settings: rbac: superAdminEmail: admin@deckhouse.io security: secretKey: "16charssecretkey" postgres: mode: external host: postgres.example.com # PostgreSQL server hostname or IP address. port: 5432 # PostgreSQL port (default 5432). database: ddp # Database name. username: ddp_user # Connection username. password: secure_password # Connection password. ``` -------------------------------- ### ModuleConfig for external Redis Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/install.md This configuration specifies connection parameters for an external Redis instance. ```yaml apiVersion: deckhouse.io/v1alpha1 kind: ModuleConfig metadata: name: development-platform spec: enabled: true version: 1 settings: rbac: superAdminEmail: admin@deckhouse.io security: secretKey: "16charssecretkey" redis: mode: external host: redis.example.com # Redis server hostname or IP address. port: 6379 # Redis port (default 6379). database: "0" # Redis database index (default "0"). password: redis_password # Connection password (optional; leave empty if Redis has no password). ``` -------------------------------- ### Example: All Namespaces Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/datasources/types.ru.md Configuration to collect all namespace resources from a Kubernetes cluster. ```yaml version: v1 isNamespaced: false resource: namespaces ``` -------------------------------- ### Minimal ModuleConfig for internal instances Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/install.md This configuration enables the development-platform module with minimal settings, relying on internal PostgreSQL and Redis instances. ```yaml apiVersion: deckhouse.io/v1alpha1 kind: ModuleConfig metadata: name: development-platform spec: enabled: true version: 1 settings: rbac: superAdminEmail: admin@deckhouse.io # Super administrator email with full access to platform configuration. Can be changed at any time. security: secretKey: "16charssecretkey" # Secret key for encrypting private data. If changed, API access tokens will need to be regenerated and users will need to re-enter their credentials. ``` -------------------------------- ### ModuleConfig for internal instances with custom images Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/install.md This configuration explicitly sets internal mode for PostgreSQL and Redis and specifies images from a private Docker registry. ```yaml apiVersion: deckhouse.io/v1alpha1 kind: ModuleConfig metadata: name: development-platform spec: enabled: true version: 1 settings: rbac: superAdminEmail: admin@deckhouse.io security: secretKey: "16charssecretkey" postgres: mode: internal image: registry.example.com/postgres:16.3 # PostgreSQL image from private registry redis: mode: internal image: registry.example.com/redis:7.4.0 # Redis image from private registry. additionalImagePullSecrets: - "custom-registry-secret" # (optional) additional secrets for private registry access. ``` -------------------------------- ### Example: All Pods Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/datasources/types.ru.md Configuration to collect all pod resources from a Kubernetes cluster. ```yaml version: v1 isNamespaced: true resource: pods ``` -------------------------------- ### SQL for pg_trgm extension Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/install.md SQL command to create the pg_trgm extension in PostgreSQL, required by the platform. ```sql CREATE EXTENSION IF NOT EXISTS pg_trgm; ``` -------------------------------- ### Example: All Ingress Resources Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/datasources/types.ru.md Configuration to collect all ingress resources from a Kubernetes cluster. ```yaml apiGroup: networking.k8s.io version: v1 isNamespaced: true resource: ingresses ``` -------------------------------- ### Local Development Workflow Commands Source: https://github.com/deckhouse/website-development-platform/blob/main/AGENTS.md Commands to manage the local documentation site, including starting, building, linting, and stopping containers. ```bash make up make build make lint-markdown make down ``` -------------------------------- ### Example: Custom ModuleRelease Resources Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/datasources/types.ru.md Configuration to collect all custom ModuleRelease resources from a Kubernetes cluster. ```yaml apiGroup: deckhouse.io version: v1alpha1 isNamespaced: false resource: modulereleases ``` -------------------------------- ### Example: Pods in a Specific Namespace Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/datasources/types.ru.md Configuration to collect all pod resources from a specific namespace in a Kubernetes cluster. ```yaml version: v1 isNamespaced: true resource: pods namespace: d8-development-platform ``` -------------------------------- ### Run Documentation Site Locally Source: https://github.com/deckhouse/website-development-platform/blob/main/README.md Command to run the documentation site locally. ```bash make up ``` -------------------------------- ### Explain Deployment Command Source: https://github.com/deckhouse/website-development-platform/blob/main/content/documentation/admin/datasources/types.ru.md Command to explain the specification of a Kubernetes Deployment resource. ```bash d8 k explain deployment --recursive ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.