cwielenb/CNCF-Dataset huggingface dataset:
Project: Kui (App Definition and Development / Application Definition & Image Build)
File: kui_shell_plugin_kubectl.KubeItems.md

/ / KubeItems .KubeItems e.g. `kubectl get pods -o json` will return a kind: items | Name | Type | | :-- | :- | | `Item` | extends = | `KubeItems` apiVersion: `"v1"` KubeResource.apiVersion `Optional` content: `void` KubeResource.content packages/core/mdist/models/entity.d.ts:50 `Optional` contentType: `string` KubeResource.contentType packages/core/mdist/models/entity.d.ts:51 isKubeResource: `true` KubeResource.isKubeResource `Optional` isSimulacrum: `boolean` KubeResource.isSimulacrum items: `Item`[] kind: `"List"` KubeResource.kind `Optional` kuiRawData: `string` KubeResource.kuiRawData `Optional` metadata: { `creationTimestamp?`: `string` ; `generation?`: `string` ; `labels?`: `Record`<`string`, `string`\> ; `name`: `string` ; `namespace?`: `string` } & `Partial`<`WithOwnerReferences`\> & `Partial`<`WithResourceVersion`\> & { `annotations?`: `object` ; `creationTimestamp?`: `string` ; `generateName?`: `string` ; `generation?`: `string` ; `labels?`: { [key: string]: `string`; } ; `name`: `string` ; `namespace?`: `string` ; `uid?`: `string` } KubeResource.metadata packages/core/mdist/models/entity.d.ts:23 `Optional` nameHash: `string` KubeResource.nameHash packages/core/mdist/models/entity.d.ts:42 `Optional` onclick: `Object` family of onclick handlers | Name | Type | | :-- | :- | | `kind?` | `string` | | `name?` | `string` | | `nameHash?` | `string` | | `namespace?` | `string` | KubeResource.onclick packages/core/mdist/models/entity.d.ts:44 originatingCommand: `EvaluatorArgs`<\> KubeResource.originatingCommand `Optional` presentation: `Presentation` KubeResource.presentation packages/core/mdist/models/entity.d.ts:53 `Optional` prettyName: `string` name hash, e.g. the hash part of auto-generated names, or an openwhisk activation id KubeResource.prettyName packages/core/mdist/models/entity.d.ts:41 `Optional` spec: `any` KubeResource.spec `Optional` status: KubeResource.status `Optional` toolbarText: `ToolbarText` KubeResource.toolbarText packages/core/mdist/models/entity.d.ts:52 `Optional` version: `string` optional designation of resource version KubeResource.version packages/core/mdist/models/entity.d.ts:39
Project: ArangoDB (App Definition and Development / Database)
File: GUIDELINES.md

Global Variables ================ There should be no global variables/functions except require module The following functions are also defined, but should never be used globally in any JavaScript module. print printf print_plain startprettyprint stopprettyprint startcolorprint stopcolorprint start_pager stop_pager Bootstrapping ============= When booting the arangod or arangosh process defines some global variables in C++. These variables are named all in uppercase and are defined in the global namespace. The bootstrap defines the module management in `modules.js` and bootstraps the following modules: "internal" "console" "fs" These modules are defined in the files `module-xxx.js`. Common parts available in the server and client are put into `common/bootstrap/module-xxx.js`, server-only functions in `server/bootstrap/module-xxx.js`, and client-only parts in `client/bootstrap/module-xxx.js`. All global variables are moved into the module "internal" and are then deleted. Modules ======= Files -- Sometimes client and server share large parts of the code. If this is true for a module "name", than there exists a companion module "name-common" which contains these parts. For large prototypes with a lot of methods, there exist separate files. I. e. `ArangoCollection` is defined in `@arangodb/arango-collection.js`. Module "internal" -- The module "internal" should not be used except during bootstrapping. All required prototypes and variables are copied into the module "@arangodb", which can be used everywhere. Module "@arangodb" The module "@arangodb" exports the following prototypes ArangoCollection ArangoConnection (client-only) ArangoDatabase ArangoError ArangoQueryCursor (client-only) ArangoStatement ShapedJson (server-only) It exports the global variables db arango (client-only) It exports the following functions output print printf printObject It exports the error codes, for example ERRORNOERROR ERRORHTTPNO_FOUND ... and as hash errors
Project: FOSSA (Provisioning / Security & Compliance)
File: feature_request.md

name: Feature request about: Suggest an idea for this project title: "[FEATURE]" labels: '' assignees: '' Important: Feature requests should be directed to `support@fossa.com` for faster response and prioritization. Requests may still be created here but they may not get immediate attention and may be closed in favor of internally tracked tickets. Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. For example, "I'm always frustrated when [...]" Describe the solution you'd like A clear and concise description of what you want to happen. Additional context Add any other context you think is useful about the feature request here.
Project: ClickHouse (App Definition and Development / Database)
File: v22.8.12.45-lts.md

sidebar_position: 1 sidebar_label: 2023 Backported in : Fix race for backup of tables in Lazy databases. (). Backported in : Bring sha512 sums back to the building step. (). Backported in : Kill stress tests after 2.5h in case of hanging process. (). Backported in : In rare cases, we don't rebuild binaries, because another task with a similar prefix succeeded. E.g. `binarydarwin` didn't restart because `binarydarwin_aarch64`. (). Backported in : Retry the integration tests on compressing errors. (). Backported in : . (). Backported in : Fix incorrect UserTimeMicroseconds/SystemTimeMicroseconds accounting. (). Backported in : Fix undefined behavior in the `quantiles` function, which might lead to uninitialized memory. Found by fuzzer. This closes . (). Backported in : Prevent `ReadonlyReplica` metric from having negative values. (). Backported in : Fix possible crash in case function `IN` with constant arguments was used as a constant argument together with `LowCardinality`. Fixes . (). Backported in : fix alter table ttl error when wide part has light weight delete mask. (). NO CL ENTRY: 'Fix multipart upload for large S3 object, backport to 22.8'. (). Infer Object type only when allowexperimentalobject_type is enabled (). Yet another fix for AggregateFunctionMinMaxAny (). Assign release PRs (). Fix another bug in AggregateFunctionMinMaxAny (). Bump libdivide (to gain some new optimizations) (). Add check for submodules sanity (). Implement a custom central checkout action (). Do not check read result consistency when unwinding ().
Project: ClickHouse (App Definition and Development / Database)
File: v22.12.5.34-stable.md

sidebar_position: 1 sidebar_label: 2023 Backported in : - Apply `ALTER TABLE tablename ON CLUSTER cluster MOVE PARTITION|PART partitionexpr TO DISK|VOLUME 'disk_name'` to all replicas. Because `ALTER TABLE t MOVE` is not replicated. (). Backported in : Fix key description when encountering duplicate primary keys. This can happen in projections. See for details. (). Backported in : Fix `SYSTEM UNFREEZE` queries failing with the exception `CANNOTPARSEINPUTASSERTIONFAILED`. (). Backported in : - Fix incorrect alias recursion in QueryNormalizer. (). Backported in : `INSERT` queries through native TCP protocol and HTTP protocol were not canceled correctly in some cases. It could lead to a partially applied query if a client canceled the query, or if a client died or, in rare cases, on network errors. As a result, it could lead to not working deduplication. Fixes and . (). Backported in : - Fix arithmetic operations in aggregate optimization with `min` and `max`. (). Backported in : Fix MSan report in the `maxIntersections` function. This closes . (). Backported in : Fix possible deadlock on distributed query cancellation. (). Use /etc/default/clickhouse in systemd too (). Update typing for a new PyGithub version (). Follow-up to (). Add a manual trigger for release workflow ().
Project: Lagoon (App Definition and Development / Application Definition & Image Build)
File: private-repositories.md

Give the deploy key access to the Git repositories in your GitHub/GitLab/BitBucket. Add `ARG LAGOONSSHPRIVATE_KEY` to your `dockerfile` \(before the step of the build process that needs the SSH key\). Add `RUN /lagoon/entrypoints/05-ssh-key.sh` to your `dockerfile` \(before the step of the build process that needs the SSH key\). ```bash title="Set up your private respository" RUN /lagoon/entrypoints/05-ssh-key.sh && composer install && rm /home/.ssh/key ```
Project: YDB (App Definition and Development / Database)
File: stddev_variance.md

Standard deviation and variance in a column. Those functions use a , whose result may differ from the more common methods requiring two passes through the data. By default, the sample variance and standard deviation are calculated. Several write methods are available: with the `POPULATION` suffix/prefix, for example: `VARIANCEPOPULATION`, `POPULATIONVARIANCE` calculates the variance or standard deviation for the population. With the `SAMPLE` suffix/prefix or without a suffix, for example, `VARIANCESAMPLE`, `SAMPLEVARIANCE`, `SAMPLE` calculate sample variance and standard deviation. Several abbreviated aliases are also defined, for example, `VARPOP` or `STDDEVSAMP`. If all the values passed are `NULL`, it returns `NULL`. Examples ```yql SELECT STDDEV(numeric_column), VARIANCE(numeric_column) FROM my_table; ```
Project: KubeBlocks by ApeCloud (App Definition and Development / Database)
File: scheduled-backup.md

title: Scheduled backup description: How to back up databases by schedule keywords: [backup and restore, schedule, automatic backup, scheduled backup] sidebar_position: 3 sidebar_label: Scheduled backup import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; KubeBlocks supports configuring scheduled backups for clusters. <Tabs> <TabItem value="kbcli" label="kbcli" default> Configure scheduled backups with kbcli: ```bash kbcli cluster update mysql-cluster --backup-enabled=true \ --backup-method=xtrabackup --backup-repo-name=my-repo \ --backup-retention-period=7d --backup-cron-expression="0 18 *" ``` `--backup-enabled` indicates whether to enable scheduled backups. `--backup-method` specifies the backup method. You can use the `kbcli cluster describe-backup-policy mysql-cluster` command to view the supported backup methods. `--backup-repo-name` specifies the name of the backupRepo. `--backup-retention-period` specifies the retention period for backups, which is 7 days in the example. `--backup-cron-expression` specifies the backup schedule using a cron expression in UTC timezone. Refer to for the expression format. </TabItem> <TabItem value="kubectl" label="kubectl"> Modify the backup field with kubectl as follows: ```bash kubectl edit cluster -n default mysql-cluster spec: ... backup: enabled: true cronExpression: 0 18 * method: xtrabackup retentionPeriod: 7d repoName: my-repo ``` </TabItem> </Tabs> After the scheduled backup is enabled, execute the following command to check if a CronJob object has been created: ```bash kubectl get cronjob NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE 96523399-mysql-cluster-default-xtrabackup 0 18 * False 0 <none> 57m ``` You can also execute the following command to view cluster information, where the `Data Protection:` section displays the configuration details of automatic backups. ```bash kbcli cluster describe mysql-cluster ... Data Protection: BACKUP-REPO AUTO-BACKUP BACKUP-SCHEDULE BACKUP-METHOD BACKUP-RETENTION my-repo Enabled 0 18 * xtrabackup 7d ```
Project: Apache Spark (App Definition and Development / Streaming & Messaging)
File: programming-guide.md

layout: global title: Spark Programming Guide redirect: rdd-programming-guide.html license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. This document has moved .
Project: DevSpace (App Definition and Development / Application Definition & Image Build)
File: devspace_print.md

title: "Command - devspace print" sidebar_label: devspace print Print displays the configuration ``` devspace print [flags] ``` ``` Prints the configuration for the current or given profile after all patching and variable substitution ``` ``` --dependency string The dependency to print the config from. Use dot to access nested dependencies (e.g. dep1.dep2) -h, --help help for print --skip-info When enabled, only prints the configuration without additional information ``` ``` --config string The devspace config file to use --debug Prints the stack trace if an error occurs --disable-profile-activation If true will ignore all profile activations --inactivity-timeout int Minutes the current user is inactive (no mouse or keyboard interaction) until DevSpace will exit automatically. 0 to disable. Only supported on windows and mac operating systems (default 180) --kube-context string The kubernetes context to use -n, --namespace string The kubernetes namespace to use --no-warn If true does not show any warning when deploying into a different namespace or kube-context than before -p, --profile strings The DevSpace profiles to apply. Multiple profiles are applied in the order they are specified --profile-parent strings One or more profiles that should be applied before the specified profile (e.g. devspace dev --profile-parent=base1 --profile-parent=base2 --profile=my-profile) --profile-refresh If true will pull and re-download profile parent sources --restore-vars If true will restore the variables from kubernetes before loading the config --save-vars If true will save the variables to kubernetes after loading the config --silent Run in silent mode and prevents any devspace log output except panics & fatals -s, --switch-context DEPRECATED: Switches and uses the last kube context and namespace that was used to deploy the DevSpace project --var strings Variables to override during execution (e.g. --var=MYVAR=MYVALUE) --vars-secret string The secret to restore/save the variables from/to, if --restore-vars or --save-vars is enabled (default "devspace-vars") ```
Project: Chef InSpec (Provisioning / Security & Compliance)
File: google_runtime_config_configs.md

+++ title = "googleruntimeconfig_configs resource" draft = false gh_repo = "inspec" platform = "gcp" [menu] [menu.inspec] title = "googleruntimeconfig_configs" identifier = "inspec/resources/gcp/googleruntimeconfigconfigs.md googleruntimeconfigconfigs resource" parent = "inspec/resources/gcp" +++ A `googleruntimeconfig_configs` is used to test a Google Config resource ```ruby describe googleruntimeconfig_configs(project: 'chef-gcp-inspec') do its('descriptions') { should include 'My runtime configurations' } end ``` Properties that can be accessed from the `googleruntimeconfig_configs` resource: See the resource for more information. `descriptions` : an array of `googleruntimeconfig_config` description `names` : an array of `googleruntimeconfig_config` name This resource supports all of the above properties as filter criteria, which can be used with `where` as a block or a method. Ensure the is enabled for the current project.
Project: KICS (Provisioning / Security & Compliance)
File: aed98a2a-e680-497a-8886-277cea0f4514.md

title: PostgreSQL Misconfigured Logging Duration Flag hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: aed98a2a-e680-497a-8886-277cea0f4514 Query name: PostgreSQL Misconfigured Logging Duration Flag Platform: Ansible Severity: <span style="color:#edd57e">Low</span> Category: Insecure Configurations URL: PostgreSQL database 'logminduration_statement' flag isn't set to '-1'<br> ```yaml title="Positive test num. 1 - yaml file" hl_lines="10" name: sql_instance google.cloud.gcpsqlinstance: auth_kind: serviceaccount databaseversion: SQLSERVER13_1 name: "{{ resource_name }}-2" project: test_project region: us-central1 serviceaccountfile: /tmp/auth.pem settings: database_flags: name: logminduration_statement value: 0 tier: db-n1-standard-1 state: present ``` ```yaml title="Negative test num. 1 - yaml file" name: sql_instance google.cloud.gcpsqlinstance: auth_kind: serviceaccount databaseversion: SQLSERVER13_1 name: '{{ resource_name }}-2' project: test_project region: us-central1 serviceaccountfile: /tmp/auth.pem settings: database_flags: name: logminduration_statement value: -1 tier: db-n1-standard-1 state: present ```
Project: DevSpace (App Definition and Development / Application Definition & Image Build)
File: devspace_use_namespace.md

title: "Command - devspace use namespace" sidebar_label: devspace use namespace Tells DevSpace which namespace to use ``` devspace use namespace [flags] ``` ``` Set the default namespace to deploy to Example: devspace use namespace my-namespace ``` ``` -h, --help help for namespace --reset Resets the default namespace of the current kube-context ``` ``` --config string The devspace config file to use --debug Prints the stack trace if an error occurs --disable-profile-activation If true will ignore all profile activations --inactivity-timeout int Minutes the current user is inactive (no mouse or keyboard interaction) until DevSpace will exit automatically. 0 to disable. Only supported on windows and mac operating systems (default 180) --kube-context string The kubernetes context to use -n, --namespace string The kubernetes namespace to use --no-warn If true does not show any warning when deploying into a different namespace or kube-context than before -p, --profile strings The DevSpace profiles to apply. Multiple profiles are applied in the order they are specified --profile-parent strings One or more profiles that should be applied before the specified profile (e.g. devspace dev --profile-parent=base1 --profile-parent=base2 --profile=my-profile) --profile-refresh If true will pull and re-download profile parent sources --restore-vars If true will restore the variables from kubernetes before loading the config --save-vars If true will save the variables to kubernetes after loading the config --silent Run in silent mode and prevents any devspace log output except panics & fatals -s, --switch-context DEPRECATED: Switches and uses the last kube context and namespace that was used to deploy the DevSpace project --var strings Variables to override during execution (e.g. --var=MYVAR=MYVALUE) --vars-secret string The secret to restore/save the variables from/to, if --restore-vars or --save-vars is enabled (default "devspace-vars") ```
Project: Dapr (App Definition and Development / Application Definition & Image Build)
File: v0.2.0.md

We're happy to announce the release of Dapr 0.2.0. This release focuses on community-driven components (BIG thank you to everyone involved, you rock), bug fixes across the Dapr runtime and CLI, updates to documentation and samples and the addition of E2E tests. Visit the page to get started with Dapr. To get the latest bits, follow the instructions to download the latest and greatest CLI release and binaries. Once you have the Dapr CLI in your path, run `dapr init`. Wait for the update to finish, and you're good to go! If you previously installed Dapr on your Kubernetes cluster using the Dapr CLI, first download the latest CLI release as outlined above. Once you have the CLI, run: ``` dapr uninstall --kubernetes dapr init --kubernetes ``` If installed Dapr previously via Helm, run the following command to upgrade: ``` helm upgrade dapr dapr/dapr --set global.tag=0.2.0 ``` Note: If you installed with a different chart name, use `helm upgrade <your-chart-name>` Added MongoDB as a State Store (w/ transactions) Added Cassandra as a State Store Added etcd as a State Store Added Google Cloud Firestore as a State Store Added Consul as a State Store Added Memcached as a State Store Added Zookeeper as a State Store Added NATS as a Pub/Sub message bus Added Azure Service Bus as a Pub/Sub message bus Added Hashicorp Vault as a Secrets Store Added Kafka bindings SASL authentication Added Azure Monitor tracing exporter Added TLS support for Redis Streams Added E2E tests Fixed Issue where rejected Pub/Sub messages were marked as processed successfully Fixed Issue where headers were dropped when invoking actors Improved Testability of the Kubernetes package Fixed ETag error on state deletion of a given key Added Retry mechanism for loading components, enabling running side-by-side with Service Meshes Fixed Issue where Kubernetes services were not removed when a Dapr enabled deployment is deleted Added Go linter checks Added Ability to run Actor placement service and Redis in a Docker network Fixed Issue where non-default component YAMLs could not be used when executing `dapr run` Fixed Issue where the Actor placement container does not update on `dapr init` Changed Testing framework to XUnit Removed Redundant using statements Updated Actor documentation Removed Redundant null checks Updated to use span slicing instead of string substrings for Dapr format TimeSpan string Added A C++ SDK Added A Rust SDK
Project: DevSpace (App Definition and Development / Application Definition & Image Build)
File: devspace_save_vars.md

title: "Command - devspace save vars" sidebar_label: devspace save vars Saves variable values to kubernetes ``` devspace save vars [flags] ``` ``` Saves devspace config variable values into a kubernetes secret. Variable values can be shared or restored via devspace restore vars. Examples: devspace save vars devspace save vars --namespace test devspace save vars --vars-secret my-secret ``` ``` -h, --help help for vars ``` ``` --config string The devspace config file to use --debug Prints the stack trace if an error occurs --disable-profile-activation If true will ignore all profile activations --inactivity-timeout int Minutes the current user is inactive (no mouse or keyboard interaction) until DevSpace will exit automatically. 0 to disable. Only supported on windows and mac operating systems (default 180) --kube-context string The kubernetes context to use -n, --namespace string The kubernetes namespace to use --no-warn If true does not show any warning when deploying into a different namespace or kube-context than before -p, --profile strings The DevSpace profiles to apply. Multiple profiles are applied in the order they are specified --profile-parent strings One or more profiles that should be applied before the specified profile (e.g. devspace dev --profile-parent=base1 --profile-parent=base2 --profile=my-profile) --profile-refresh If true will pull and re-download profile parent sources --restore-vars If true will restore the variables from kubernetes before loading the config --save-vars If true will save the variables to kubernetes after loading the config --silent Run in silent mode and prevents any devspace log output except panics & fatals -s, --switch-context DEPRECATED: Switches and uses the last kube context and namespace that was used to deploy the DevSpace project --var strings Variables to override during execution (e.g. --var=MYVAR=MYVALUE) --vars-secret string The secret to restore/save the variables from/to, if --restore-vars or --save-vars is enabled (default "devspace-vars") ```