Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Helm Chart for K2HDKC DBaaS

License

NotificationsYou must be signed in to change notification settings

yahoojapan/k2hdkc_helm_chart

Repository files navigation

Helm AntPickax CIGitHub licenseGitHub forksGitHub starsGitHub issuesArtifact Hub

Helm Chart for K2HDKC (K2Hash based Distributed Kvs Cluster) DBaaS

This repository defines aHelm Chart for deployingK2HDKC cluster as DBaaS (Database as a Service) on Kubernetes cluster.
The code in this repository is packaged as Helm Chart and distributed fromArtifact Hub.

About K2HKDC

K2HDKC (K2Hash based Distributed Kvs Cluster) is a distributed KVS(Key Value Store) clustering system.
ThisK2HDKC Helm Chart builds K2HDKC as DBaaS.
The K2HDKC DBaaS uses theK2HR3 (K2Hdkc basedResource andRoles and policyRules) system as its backend.
K2HR3 also provides aHelm Chart, so you can easily buildK2HDKC withK2HR3 on kubernetes by Helm.

Customization

The following options/values are supported. See values.yaml for more detailed documentation and examples:

ParameterTypeDescriptionDefault
nameOverrideoptionalOverride release part of fully name, if not specified fullnameOverride value.k2hdkc
fullnameOverrideoptionalOverride fully chart/release namen/a
serviceAccount.createoptionalSpecifies whether to create a service account, default is true.true
serviceAccount.annotationsoptionalAnnotations to add to the service account, default is empty.{}
serviceAccount.nameoptionalSpecifies Service account name, default is empty. If not set and create is true, a name is generated using the fullname template.""
antpickax.configDiroptionalConfigration directory path for AntPickax products."/etc/antpickax"
antpickax.certPeriodYearoptionalPeriod years for self signed certificates using in pods.5
dbaas.clusterNameoptionalSpecify a cluster name for K2HDKC, default is empty. If not set, a name is Release name(.Release.Name).""
dbaas.startManualoptionalSpecifies whether to boot the k2hdkc processes manually. This is a flag for debugging.false
dbaas.baseDomainoptionalSpecifies the base domain name for the k2hr3 cluster. The default is empty, if empty k8s.domain is used.""
dbaas.k2hr3TenantoptionalSpecify K2HR3 tenant name for K2HDKC cluster. If empty, the namespace of kubernetes is set as default.""
dbaas.server.countoptionalSpecify the server count in K2HKDC cluster.2
dbaas.server.portoptionalSpecify the port number for K2HDKC servers.8020
dbaas.server.ctlportoptionalSpecify the control port number for K2HDKC servers.8021
dbaas.slave.countoptionalSpecify the slave count in K2HKDC cluster.2
dbaas.slave.ctlportoptionalSpecify the control port number for K2HDKC slaves8022
dbaas.slave.imageoptionalSpecifies the docker image for k2hdkc slave container. If empty, the same image asimages.dkc will be used.""
dbaas.slave.commandoptionalSpecifies the command for k2hdkc slave container. If empty, /bin/sh is set as default.[]
dbaas.slave.argsoptionalSpecifies the args for k2hdkc slave container. If empty, dbaas-k2hdkc-dummyslave.sh is set as default.[]
dbaas.slave.filesoptionalSpecifies additional files in configmap. The files must be under chart directory, if not, could not load file contents.[]
dbaas.slave.expandFilesoptionalSpecifies additional files and its contents(string) in configmap. Each value must have key and content subkey.[]
dbaas.slave.expandFiles[].keyoptionalSpecify the filename.n/a
dbaas.slave.expandFiles[].contentsoptionalSpecify the file contents(string) to upload.n/a
dbaas.env.httpProxyoptionalSpecify the HTTP PROXY(ex. "http://proxy.local:8080") for K2HR3 system, default is empty.""
dbaas.env.httpsProxyoptionalSpecify the HTTPS PROXY(ex. "http://proxy.local:8080") for K2HR3 system, default is empty.""
dbaas.env.noProxyoptionalSpecify the NO PROXY(ex. "internal,127.1.1.1") for K2HR3 system, default is empty.""
k2hr3.clusterNameoptionalSpecify a cluster name for K2HR3 system, default is empty. If not set, a name is k2hr3.""
k2hr3.baseDomainoptionalSpecifies the base domain name for the K2HR3 system, default is empty. If not set, it is set the domain name for K2HDKC cluster.""
k2hr3.unscopedTokenrequiredSpecifies the Unscoped Token for K2HR3 system, this token is used for setting information for K2HDKC cluster.""
k2hr3.api.baseNameoptionalSpecify the base name for K2HR3 REST API, default is empty in which case r3api will be used.""
k2hr3.api.intPortoptionalSpecify the internal port number for K2HR3 REST API slaves.443
mountPoint.configMapoptionalSpecify the directory path in each pods to mount the configmap."/configmap"
mountPoint.caoptionalSpecify the directory path in each pods to mount the secret which has CA self signed certificates."/secret-ca"
mountPoint.k2hr3TokenoptionalSpecify the directory path in each pods to mount the K2HR3 Unscoped Token file."/secret-k2hr3-token"
images.dkc.fullImageNameoptionalSpecify the image full name(organaization/name/version) for the K2HDKC.""
images.dkc.organizationoptionalSpecify the organaization for the K2HDKC, Valid only when images.app.fullImageName is not specified.""
images.dkc.imageNameoptionalSpecify the image name for the K2HDKC, Valid only when images.app.fullImageName is not specified.""
images.dkc.versionoptionalSpecify the image version for the K2HDKC, Valid only when images.app.fullImageName is not specified.""
images.chmpx.fullImageNameoptionalSpecify the image full name(organaization/name/version) for the CHMPX.""
images.chmpx.organizationoptionalSpecify the organaization for the CHMPX, Valid only when images.app.fullImageName is not specified.""
images.chmpx.imageNameoptionalSpecify the image name for the CHMPX, Valid only when images.app.fullImageName is not specified.""
images.chmpx.versionoptionalSpecify the image version for the CHMPX, Valid only when images.app.fullImageName is not specified.""
images.init.fullImageNameoptionalSpecify the image full name(organaization/name/version) for the init/setup container.""
images.init.organizationoptionalSpecify the organaization for the init/setup container, Valid only when images.init.fullImageName is not specified.""
images.init.imageNameoptionalSpecify the image name for the init/setup container, Valid only when images.init.fullImageName is not specified.""
images.init.versionoptionalSpecify the image version for the init/setup container, Valid only when images.init.fullImageName is not specified.""
k8s.namespaceoptionalSpecify the kubernetes namespace to deploy K2HDKC cluster, default is empty. If not set, use Release.Namespace.""
k8s.domainoptionalSpecify the domain name of the kubernetes cluster to deploy K2HDKC cluster."svc.cluster.local"
unconvertedFiles.dbaasoptionalSpecify the files(unconverted) to be placed in configmap. Normally, you do not need to change this value.files/*.sh

Usage

You can deploy and remove K2HDKC DBaaS to your Kubernetes cluster in the order shown below.

Add Helm Chart repository

$ helm repo add k2hdkc https://helm.k2hdkc.antpick.ax/

Install

You can install by specifying therelease name andrequired options.

$ helm install <release name> k2hdkc \    --set k2hr3.unscopedToken=<user access token for k2hr3 oidc> \    --set k2hr3.clusterName=<optional: k2hr3 system name which is deployed by k2hr3 helm chart>

Test after install

You can check whether the installed Helm Chart is working properly as follows.

$ helm test <release name>

Uninstall

You can uninstall the installed Helm Chart by doing the following.

$ helm uninstall <release name>

Other operation

Other operations can be performed using the Helm command.
Seehelm --help for more information.

Use with RANCHER

K2HDKC Helm Chart can be used by registering the repository inRANCHER.
RANCHER allows you to use K2HDKC Helm Chart with more intuitive and simpler operations than using thehelm command.
See theK2HDKC Helm Chart documentation for more details.

Documents

K2HDKC DBaaS Document
K2HDKC Document
K2HR3 Document

About AntPickax

Repositories

K2HDKC Helm Chart
K2HDKC DBaaS
K2HDKC
K2HR3 Helm Chart
K2HR3

License

This software is released under the MIT License, see the license file.

AntPickax

K2HDKC is one ofAntPickax products.

Copyright(C) 2022 Yahoo Japan Corporation.


[8]ページ先頭

©2009-2025 Movatter.jp