Загрузка данных
dmitriev-aal@VDI-Dmitriev-A:~$ kubectl describe crd platformservices.production.platform.ckpr.integrations.rshbintech.ru
Name: platformservices.production.platform.ckpr.integrations.rshbintech.ru
Namespace:
Labels: <none>
Annotations: controller-gen.kubebuilder.io/version: v0.11.1
API Version: apiextensions.k8s.io/v1
Kind: CustomResourceDefinition
Metadata:
Creation Timestamp: 2020-11-06T08:04:22Z
Generation: 73
Resource Version: 22038491724
UID: c6fd2aeb-f430-4c9e-a8f0-55e8bb34eb02
Spec:
Conversion:
Strategy: None
Group: production.platform.ckpr.integrations.rshbintech.ru
Names:
Kind: PlatformService
List Kind: PlatformServiceList
Plural: platformservices
Short Names:
psvc
Singular: platformservice
Scope: Namespaced
Versions:
Additional Printer Columns:
Description: Окружение
Json Path: .spec.environment
Name: Environment
Type: string
Description: Наименование
Json Path: .spec.name
Name: Name
Type: string
Description: Текущий статус ресурса
Json Path: .status.code
Name: Status
Type: string
Description: Сообщение о статусе ресурса
Json Path: .status.message
Name: Message
Type: string
Description: Дата создания
Json Path: .metadata.creationTimestamp
Name: Timestamp
Type: string
Name: v1
Schema:
openAPIV3Schema:
Description: PlatformService is the Schema for the platformservices API
Properties:
API Version:
Description: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Type: string
Kind:
Description: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Type: string
Metadata:
Type: object
Spec:
Description: PlatformServiceSpec defines the desired state of PlatformService
Properties:
Business Ports:
Description: Бизнес-порты. Опционально, по умолчанию совпадает с web-портом
Items:
Properties:
App Protocol:
Type: string
Name:
Type: string
Port:
Type: integer
Target Port:
Type: integer
Required:
name
Type: object
Type: array
Connection Parameters:
Description: Поддерживаемые параметры подключения
Items:
Properties:
Balanced Addresses:
Description: IP адреса для подключения к сервису
Properties:
Ips:
Items:
Type: string
Type: array
Port:
Type: integer
Required:
ips
Type: object
Parameters:
Additional Properties:
Type: string
Description: Параметры для подключения
Type: object
Protocol:
Description: Протокол подключения
Enum:
MQ
HTTP
SMTP
SMB
AMQ
TCP
Type: string
Required:
parameters
protocol
Type: object
Type: array
Cpu Limits:
Description: Максимальное потребление процессорной мощности (CPU)
Pattern: ^[\d]+(\.[\d+])?(m)?$
Type: string
Cpu Requests:
Description: Планируемое потребление процессорной мощности (CPU)
Pattern: ^[\d]+(\.[\d+])?(m)?$
Type: string
Description:
Description: Описание сервиса
Type: string
Disaster Recovery:
Description: Список зон для disaster recovery
Properties:
Zones:
Items:
Type: string
Type: array
Required:
zones
Type: object
Environment:
Description: Код окружения (DEV, REGRESS, STRESS, RC, PRODUCTION)
Enum:
DEV
REGRESS
STRESS
RC
PRODUCTION
Type: string
Headers:
Additional Properties:
Type: string
Description: Настройки заголовков для frontend приложений
Type: object
Information System Id:
Description: Идентификатор информационной системы
Max Length: 64
Min Length: 3
Type: string
Istio Sidecar Settings:
Description: Настройки Istio Sidecar
Properties:
Limits:
Description: Максимальное потребление
Properties:
Cpu:
Description: Процессорная мощность (CPU)
Pattern: ^[\d]+(\.[\d+])?(m)?$
Type: string
Memory:
Description: Оперативная память (RAM)
Pattern: ^[\d]+(\.[\d+])?(Mi|Gi)?$
Type: string
Type: object
Requests:
Description: Планируемое потребление
Properties:
Cpu:
Description: Процессорная мощность (CPU)
Pattern: ^[\d]+(\.[\d+])?(m)?$
Type: string
Memory:
Description: Оперативная память (RAM)
Pattern: ^[\d]+(\.[\d+])?(Mi|Gi)?$
Type: string
Type: object
Type: object
Logging:
Description: Настройки, связанные с логированием сервиса
Properties:
Dedicated Role Enabled:
Description: Создание ролей для просмотра логов сервиса в кибане
Type: boolean
Type: object
Management Port:
Description: Менеджмент-порт. Опционально, по умолчанию совпадает с web-портом
Maximum: 9999
Minimum: 9000
Type: integer
Name:
Description: Наименование сервиса
Max Length: 64
Min Length: 3
Type: string
Platform Auth Settings:
Description: Настройки client
Properties:
Access:
Properties:
Admin URL:
Description: URL будет добавлен к относительным путям RootUrl *string `json:"rootUrl,omitempty"` URL для административного клиентского api
Type: string
Base URL:
Description: URL для перенаправления или обратной ссылки на клиентское api
Type: string
Logout Redirect Uris:
Description: URL куда можно перенаправлять после выхода
Items:
Type: string
Type: array
Redirect Uris:
Description: URL куда можно делать перенаправление с Authorization Code для получения токена
Items:
Type: string
Type: array
Web Origins:
Items:
Type: string
Type: array
Type: object
Advanced:
Properties:
Client Offline Session Idle:
Description: Время, в течение которого клиентской офлайн сессии разрешено простаивать
Type: integer
Client Offline Session Max:
Description: Время, после которого истечет клиентская офлайн сессия
Type: integer
Client Session Idle:
Description: Время, в течение которого клиентской сессии разрешено простаивать
Type: integer
Client Session Max:
Description: Время, после которого истечет клиентская сессия
Type: integer
Logo URL:
Description: URL логотипа клиента
Type: string
Policy URL:
Description: URL на политику конфиденциальности
Type: string
Tos URL:
Description: URL на условия использования
Type: string
Use Refresh Token:
Description: При включении refresh_token будет добавлен при получении токена
Type: boolean
Type: object
Authentication Flows:
Properties:
Browser:
Description: Аутентификация из браузера
Type: string
Direct Grant:
Description: Аутентификация с direct grant
Type: string
Type: object
Is Public Client:
Description: Признак публичного клиента
Type: boolean
Login:
Properties:
Theme:
Description: Тема входа для клиента системы
Type: string
Type: object
Logout:
Properties:
Back Channel Logout Uri:
Description: URL куда будет отправлен запрос для выхода
Type: string
Front Channel Logout:
Description: Перенаправлять после выхода
Type: boolean
Front Channel Logout Uri:
Description: URL куда перенаправлять при выходе
Type: string
Type: object
Root URL:
Type: string
Required:
isPublicClient
Type: object
Project Path:
Description: Путь до репозитория проекта сервиса
Pattern: ^(/[a-z][a-z0-9\-]+[a-z0-9])+$
Type: string
Public Domain:
Description: Публичный домен, чтобы иметь возможность обращаться к фронтенду по portal.rshb.pro, а не portal-frontend.rshb.pro
Type: string
Publish API:
Description: Опция отвечающая за публикацию API сервиса
Type: boolean
Ram Limits:
Description: Максимальное потребление оперативной памяти (RAM)
Pattern: ^[\d]+(\.[\d+])?(Mi|Gi)?$
Type: string
Ram Requests:
Description: Планируемое потребление оперативной памяти (RAM)
Pattern: ^[\d]+(\.[\d+])?(Mi|Gi)?$
Type: string
Replica Count:
Description: Количество pod-сущностей для сервиса
Format: int32
Type: integer
Replicas Discovery Settings:
Description: Настройки для включения Replicas Discovery
Properties:
Enabled:
Type: boolean
Port:
Type: integer
Type: object
Role Mapping:
Description: Соответствие конечных точек и ролей
Items:
Description: RoleMapping - это соответствие конечной точки и ролей
Properties:
Endpoint:
Description: Конечная точка
Pattern: (?i)(^\*$)|(^(\/[a-z][\/a-z0-9\-_*.]+[a-z0-9*])+$)
Type: string
Methods:
Description: Метод доступа к контрольной точке (один или несколько методов через запятую; * - все методы, пусто = GET)
Pattern: ^((\*|GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH),\s*)*(\*|GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)$
Type: string
Public:
Description: Признак, что эндпоинт является открытым (не требует авторизации) при установленном признаке поля: Methods, Roles, Zones игнорируются
Type: boolean
Roles:
Description: Список коротких имён ролей (через запятую)
Pattern: ^\*|((([a-zA-Z][a-zA-Z0-9\-\_]+[a-zA-Z0-9])+,\s*)*([a-zA-Z][a-zA-Z0-9\-\_]+[a-zA-Z0-9])+)$
Type: string
Zones:
Description: Зоны, запросы из которых необходимо авторизовать
Enum:
all
external
Type: string
Required:
endpoint
Type: object
Type: array
Scaling Settings:
Description: Настройки автоматического масштабирования
Properties:
Max Replica Count:
Format: int32
Type: integer
Metrics:
Items:
Description: Настройки триггера для автоматического масштабирования
Properties:
Metric Metadata:
Additional Properties:
Type: string
Description: Данные для получения метрики масштабирования
Type: object
Name:
Description: Имя метрики для масштабирования
Type: string
Type:
Description: Тип метрики для масштабирования. Доступные значения AverageValue, Value, Utilization
Enum:
AverageValue
Value
Utilization
Type: string
Required:
metricMetadata
name
type
Type: object
Type: array
Min Replica Count:
Format: int32
Type: integer
Required:
maxReplicaCount
metrics
minReplicaCount
Type: object
Service Reference:
Description: Адрес сервиса в пространстве имён Kubernetes
Properties:
Name:
Description: Наименование сервиса
Type: string
Namespace:
Description: Пространство имён, в котором расположен сервис
Type: string
Required:
name
namespace
Type: object
Side:
Description: Тип сервиса (frontend, backend, fullstack)
Enum:
frontend
backend
fullstack
Type: string
Update Strategy:
Description: Стратегия обновления подов сервиса
Type: string
Vendor Id:
Description: Идентификатор вендора - поставщика приложения
Type: string
Required:
description
environment
informationSystemId
name
serviceReference
Type: object
Status:
Description: PlatformServiceStatus defines the observed state of PlatformService
Properties:
Code:
Description: Код статуса;
Enum:
ERROR
ACTIVE
INACTIVE
VALIDATED
PENDING
FINALIZING
WARNING
DELETION_BLOCKED
Type: string
Deployments:
Items:
Properties:
Code:
Description: Код статуса;
Enum:
ACTIVE
INACTIVE
PENDING
STOPPED
STOP_TRIGGERED
STOPPED_AUTO
Type: string
Deployment Name:
Description: Имя деплоймента, созданного для этой зоны
Type: string
Message:
Description: Информация о состоянии платформенного сервиса в конкретной зоне системы
Type: string
Zone:
Description: ID зоны. может быть пустым
Type: string
Required:
code
deploymentName
message
Type: object
Type: array
Message:
Description: Информация о состоянии платформенного сервиса системы
Type: string
Required:
code
message
Type: object
Type: object
Served: true
Storage: true
Subresources:
Status:
Status:
Accepted Names:
Kind: PlatformService
List Kind: PlatformServiceList
Plural: platformservices
Short Names:
psvc
Singular: platformservice
Conditions:
Last Transition Time: 2020-11-06T08:04:22Z
Message: no conflicts found
Reason: NoConflicts
Status: True
Type: NamesAccepted
Last Transition Time: 2020-11-06T08:04:22Z
Message: the initial names have been accepted
Reason: InitialNamesAccepted
Status: True
Type: Established
Stored Versions:
v1
Events: <none>