Created
March 13, 2024 12:06
-
-
Save l0kix2/c9f4725a28efbcb72e1558c9955b8332 to your computer and use it in GitHub Desktop.
YTsaurus operator config overrides usage example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: mysaurus-config-overrides | |
| namespace: mysaurus | |
| data: | |
| clusters-config.json: | | |
| { | |
| clusters = [ | |
| { | |
| authentication = basic; | |
| description = "My YTsaurus cluster"; | |
| environment = production; | |
| group = YTsaurus; | |
| id = mysaurus; | |
| name = mysaurus; | |
| primaryMaster = {cellTag = 1}; | |
| proxy = "mysaurus-yt-http-proxy.mysaurus.svc.cluster.local"; | |
| externalProxy = "mysaurus.yt.somecloud.net"; | |
| theme = lavander; | |
| secure = %false; | |
| urls = { | |
| icon = "https://storage.some.cloud/mysaurus/icon.png"; | |
| icon2x = "https://storage.some.cloud/mysaurus/icon2x.png"; | |
| iconbig = "https://storage.some.cloud/mysaurus/iconbig.png"; | |
| }; | |
| } | |
| ] | |
| } | |
| common.js: | | |
| { | |
| uiSettings = { | |
| reShortNameFromAddress = "(?<shortname>.*)"; | |
| directDownload = %true; | |
| }; | |
| } | |
| yql-agent.yson: | | |
| { | |
| logging = { | |
| writers = { | |
| debug = { | |
| enable_compression = %false; | |
| }; | |
| }; | |
| }; | |
| } | |
| yt-data-node-config--ytserver-data-node.yson: | | |
| { | |
| monitoring_port = 20012; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: cluster.ytsaurus.tech/v1 | |
| kind: Ytsaurus | |
| metadata: | |
| name: mysaurus | |
| namespace: mysaurus | |
| spec: | |
| coreImage: cr.some.cloud/crnf2coti090683j5ssi/ytsaurus/ytsaurus-nightly:dev-23.2-relwithdebinfo-08ab33d627f28287e620444616596c5b2823e416 | |
| uiImage: cr.some.cloud/crnf2coti090683j5ssi/ytsaurus/ui:1.3.0 | |
| useIpv6: true | |
| configOverrides: | |
| name: mysaurus-config-overrides | |
| // ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment