conversations
listlengths
2
2
[ { "from": "human", "value": "Show a node via the `knife` command" }, { "from": "gpt", "value": "`knife node show {{node_name}}`" } ]
[ { "from": "human", "value": "Edit a node via the `knife` command" }, { "from": "gpt", "value": "`knife node edit {{node_name}}`" } ]
[ { "from": "human", "value": "Edit a role via the `knife` command" }, { "from": "gpt", "value": "`knife role edit {{role_name}}`" } ]
[ { "from": "human", "value": "View a data bag via the `knife` command" }, { "from": "gpt", "value": "`knife data bag show {{data_bag_name}} {{data_bag_item}}`" } ]
[ { "from": "human", "value": "Upload a local cookbook to the Chef server via the `knife` command" }, { "from": "gpt", "value": "`knife cookbook upload {{cookbook_name}}`" } ]
[ { "from": "human", "value": "Tell me about `knotc`." }, { "from": "gpt", "value": "Control knot DNS server.\nMore information: <https://www.knot-dns.cz/docs/latest/html/man_knotc.html>.\n" } ]
[ { "from": "human", "value": "Start editing a zone via the `knotc` command" }, { "from": "gpt", "value": "`knotc zone-begin {{zone}}`" } ]
[ { "from": "human", "value": "Set an A record with TTL of 3600 via the `knotc` command" }, { "from": "gpt", "value": "`knotc zone-set {{zone}} {{subdomain}} 3600 A {{ip_address}}`" } ]
[ { "from": "human", "value": "Finish editing the zone via the `knotc` command" }, { "from": "gpt", "value": "`knotc zone-commit {{zone}}`" } ]
[ { "from": "human", "value": "Get the current zone data via the `knotc` command" }, { "from": "gpt", "value": "`knotc zone-read {{zone}}`" } ]
[ { "from": "human", "value": "Get the current server configuration via the `knotc` command" }, { "from": "gpt", "value": "`knotc conf-read server`" } ]
[ { "from": "human", "value": "Tell me about `kompose`." }, { "from": "gpt", "value": "Convert docker-compose applications to Kubernetes.\nMore information: <https://github.com/kubernetes/kompose>.\n" } ]
[ { "from": "human", "value": "Deploy a dockerized application to Kubernetes via the `kompose` command" }, { "from": "gpt", "value": "`kompose up -f {{docker-compose.yml}}`" } ]
[ { "from": "human", "value": "Delete instantiated services/deployments from Kubernetes via the `kompose` command" }, { "from": "gpt", "value": "`kompose down -f {{docker-compose.yml}}`" } ]
[ { "from": "human", "value": "Convert a docker-compose file into Kubernetes resources file via the `kompose` command" }, { "from": "gpt", "value": "`kompose convert -f {{docker-compose.yml}}`" } ]
[ { "from": "human", "value": "Tell me about `kool`." }, { "from": "gpt", "value": "Build software development environments.\nMore information: <https://kool.dev/docs/>.\n" } ]
[ { "from": "human", "value": "Create a project using a specific preset via the `kool` command" }, { "from": "gpt", "value": "`kool create {{preset}} {{project_name}}`" } ]
[ { "from": "human", "value": "Run a specific script defined in the `kool.yml` file in the current directory via the `kool` command" }, { "from": "gpt", "value": "`kool run {{script}}`" } ]
[ { "from": "human", "value": "Start/stop services in the current directory via the `kool` command" }, { "from": "gpt", "value": "`kool {{start|stop}}`" } ]
[ { "from": "human", "value": "Display status of the services in the current directory via the `kool` command" }, { "from": "gpt", "value": "`kool status`" } ]
[ { "from": "human", "value": "Update to the latest version via the `kool` command" }, { "from": "gpt", "value": "`kool self-update`" } ]
[ { "from": "human", "value": "Print the completion script for the specified shell via the `kool` command" }, { "from": "gpt", "value": "`kool completion {{bash|fish|powershell|zsh}}`" } ]
[ { "from": "human", "value": "Tell me about `kopia`." }, { "from": "gpt", "value": "Fast, secure open-source backup tool.\nSupports encryption, compression, deduplication, and incremental snapshots.\nMore information: <https://kopia.io/docs/reference/command-line/>.\n" } ]
[ { "from": "human", "value": "Create a repository in the local filesystem via the `kopia` command" }, { "from": "gpt", "value": "`kopia repository create filesystem --path {{path/to/local_repository}}`" } ]
[ { "from": "human", "value": "Create a repository on Amazon S3 via the `kopia` command" }, { "from": "gpt", "value": "`kopia repository create s3 --bucket {{bucket_name}} --access-key {{AWS_access_key_id}} --secret-access-key {{AWS_secret_access_key}}`" } ]
[ { "from": "human", "value": "Connect to a repository via the `kopia` command" }, { "from": "gpt", "value": "`kopia repository connect {{repository_type}} --path {{path/to/repository}}`" } ]
[ { "from": "human", "value": "Create a snapshot of a directory via the `kopia` command" }, { "from": "gpt", "value": "`kopia snapshot create {{path/to/directory}}`" } ]
[ { "from": "human", "value": "List snapshots via the `kopia` command" }, { "from": "gpt", "value": "`kopia snapshot list`" } ]
[ { "from": "human", "value": "Restore a snapshot to a specific directory via the `kopia` command" }, { "from": "gpt", "value": "`kopia snapshot restore {{snapshot_id}} {{path/to/target_directory}}`" } ]
[ { "from": "human", "value": "Create a new policy via the `kopia` command" }, { "from": "gpt", "value": "`kopia policy set --global --keep-latest {{number_of_snapshots_to_keep}} --compression {{compression_algorithm}}`" } ]
[ { "from": "human", "value": "Ignore a specific file or folder from backups via the `kopia` command" }, { "from": "gpt", "value": "`kopia policy set --global --add-ignore {{path/to/file_or_folder}}`" } ]
[ { "from": "human", "value": "Tell me about `kops`." }, { "from": "gpt", "value": "Create, destroy, upgrade and maintain Kubernetes clusters.\nMore information: <https://github.com/kubernetes/kops/>.\n" } ]
[ { "from": "human", "value": "Create a cluster from the configuration specification via the `kops` command" }, { "from": "gpt", "value": "`kops create cluster -f {{cluster_name.yaml}}`" } ]
[ { "from": "human", "value": "Create a new SSH public key via the `kops` command" }, { "from": "gpt", "value": "`kops create secret sshpublickey {{key_name}} -i {{~/.ssh/id_rsa.pub}}`" } ]
[ { "from": "human", "value": "Export the cluster configuration to the `~/.kube/config` file via the `kops` command" }, { "from": "gpt", "value": "`kops export kubecfg {{cluster_name}}`" } ]
[ { "from": "human", "value": "Get the cluster configuration as YAML via the `kops` command" }, { "from": "gpt", "value": "`kops get cluster {{cluster_name}} -o yaml`" } ]
[ { "from": "human", "value": "Delete a cluster via the `kops` command" }, { "from": "gpt", "value": "`kops delete cluster {{cluster_name}} --yes`" } ]
[ { "from": "human", "value": "Validate a cluster via the `kops` command" }, { "from": "gpt", "value": "`kops validate cluster {{cluster_name}} --wait {{wait_time_until_ready}} --count {{num_required_validations}}`" } ]
[ { "from": "human", "value": "Tell me about `kosmorro`." }, { "from": "gpt", "value": "Compute the ephemerides and the events for a date at a position on Earth.\nMore information: <https://kosmorro.space>.\n" } ]
[ { "from": "human", "value": "Get ephemerides for Paris, France via the `kosmorro` command" }, { "from": "gpt", "value": "`kosmorro --latitude={{48.7996}} --longitude={{2.3511}}`" } ]
[ { "from": "human", "value": "Get ephemerides for Paris, France, in the UTC+2 timezone via the `kosmorro` command" }, { "from": "gpt", "value": "`kosmorro --latitude={{48.7996}} --longitude={{2.3511}} --timezone={{2}}`" } ]
[ { "from": "human", "value": "Get ephemerides for Paris, France, on June 9th, 2020 via the `kosmorro` command" }, { "from": "gpt", "value": "`kosmorro --latitude={{48.7996}} --longitude={{2.3511}} --date={{2020-06-09}}`" } ]
[ { "from": "human", "value": "Generate a PDF (Note: TeXLive must be installed) via the `kosmorro` command" }, { "from": "gpt", "value": "`kosmorro --format={{pdf}} --output={{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Tell me about `kotlinc`." }, { "from": "gpt", "value": "Kotlin compiler.\nMore information: <https://kotlinlang.org/docs/command-line.html>.\n" } ]
[ { "from": "human", "value": "Start a REPL (interactive shell) via the `kotlinc` command" }, { "from": "gpt", "value": "`kotlinc`" } ]
[ { "from": "human", "value": "Compile a Kotlin file via the `kotlinc` command" }, { "from": "gpt", "value": "`kotlinc {{path/to/file.kt}}`" } ]
[ { "from": "human", "value": "Compile several Kotlin files via the `kotlinc` command" }, { "from": "gpt", "value": "`kotlinc {{path/to/file1.kt path/to/file2.kt ...}}`" } ]
[ { "from": "human", "value": "Execute a specific Kotlin Script file via the `kotlinc` command" }, { "from": "gpt", "value": "`kotlinc -script {{path/to/file.kts}}`" } ]
[ { "from": "human", "value": "Compile a Kotlin file into a self contained jar file with the Kotlin runtime library included via the `kotlinc` command" }, { "from": "gpt", "value": "`kotlinc {{path/to/file.kt}} -include-runtime -d {{path/to/file.jar}}`" } ]
[ { "from": "human", "value": "Tell me about `kotlin`." }, { "from": "gpt", "value": "Kotlin application launcher.\nMore information: <https://kotlinlang.org>.\n" } ]
[ { "from": "human", "value": "Run a jar file via the `kotlin` command" }, { "from": "gpt", "value": "`kotlin {{filename.jar}}`" } ]
[ { "from": "human", "value": "Display Kotlin and JVM version via the `kotlin` command" }, { "from": "gpt", "value": "`kotlin -version`" } ]
[ { "from": "human", "value": "Tell me about `krita`." }, { "from": "gpt", "value": "A sketching and painting program designed for digital artists.\nSee also: `gimp`.\nMore information: <https://docs.krita.org/en/reference_manual/linux_command_line.html>.\n" } ]
[ { "from": "human", "value": "Start Krita via the `krita` command" }, { "from": "gpt", "value": "`krita`" } ]
[ { "from": "human", "value": "Open specific files via the `krita` command" }, { "from": "gpt", "value": "`krita {{path/to/image1 path/to/image2 ...}}`" } ]
[ { "from": "human", "value": "Start without a splash screen via the `krita` command" }, { "from": "gpt", "value": "`krita --nosplash`" } ]
[ { "from": "human", "value": "Start with a specific workspace via the `krita` command" }, { "from": "gpt", "value": "`krita --workspace {{Animation}}`" } ]
[ { "from": "human", "value": "Start in fullscreen mode via the `krita` command" }, { "from": "gpt", "value": "`krita --fullscreen`" } ]
[ { "from": "human", "value": "Tell me about `krunvm`." }, { "from": "gpt", "value": "Create MicroVMs from OCI images.\nMore information: <https://github.com/containers/krunvm>.\n" } ]
[ { "from": "human", "value": "Create MicroVM based on Fedora via the `krunvm` command" }, { "from": "gpt", "value": "`krunvm create {{docker.io/fedora}} --cpus {{number_of_vcpus}} --mem {{memory_in_megabytes}} --name \"{{name}}\"`" } ]
[ { "from": "human", "value": "Start a specific image via the `krunvm` command" }, { "from": "gpt", "value": "`krunvm start \"{{image_name}}\"`" } ]
[ { "from": "human", "value": "List images via the `krunvm` command" }, { "from": "gpt", "value": "`krunvm list`" } ]
[ { "from": "human", "value": "Change a specific image via the `krunvm` command" }, { "from": "gpt", "value": "`krunvm changevm --cpus {{number_of_vcpus}} --mem {{memory_in_megabytes}} --name \"{{new_vm_name}}\" \"{{current_vm_name}}\"`" } ]
[ { "from": "human", "value": "Delete a specific image via the `krunvm` command" }, { "from": "gpt", "value": "`krunvm delete \"{{image_name}}\"`" } ]
[ { "from": "human", "value": "Tell me about `ksh`." }, { "from": "gpt", "value": "Korn Shell, a Bash-compatible command-line interpreter.\nSee also: `!`, `^`.\nMore information: <https://manned.org/ksh>.\n" } ]
[ { "from": "human", "value": "Start an interactive shell session via the `ksh` command" }, { "from": "gpt", "value": "`ksh`" } ]
[ { "from": "human", "value": "Execute specific [c]ommands via the `ksh` command" }, { "from": "gpt", "value": "`ksh -c \"{{echo 'ksh is executed'}}\"`" } ]
[ { "from": "human", "value": "Execute a specific script via the `ksh` command" }, { "from": "gpt", "value": "`ksh {{path/to/script.ksh}}`" } ]
[ { "from": "human", "value": "Check a specific script for syntax errors without executing it via the `ksh` command" }, { "from": "gpt", "value": "`ksh -n {{path/to/script.ksh}}`" } ]
[ { "from": "human", "value": "Execute a specific script, printing each command in the script before executing it via the `ksh` command" }, { "from": "gpt", "value": "`ksh -x {{path/to/script.ksh}}`" } ]
[ { "from": "human", "value": "Tell me about `kubeadm`." }, { "from": "gpt", "value": "Command-line interface for creating and managing Kubernetes clusters.\nMore information: <https://kubernetes.io/docs/reference/setup-tools/kubeadm>.\n" } ]
[ { "from": "human", "value": "Create a Kubernetes control plane via the `kubeadm` command" }, { "from": "gpt", "value": "`kubeadm init`" } ]
[ { "from": "human", "value": "Bootstrap a Kubernetes worker node and join it to a cluster via the `kubeadm` command" }, { "from": "gpt", "value": "`kubeadm join --token {{token}}`" } ]
[ { "from": "human", "value": "Create a new bootstrap token with a TTL of 12 hours via the `kubeadm` command" }, { "from": "gpt", "value": "`kubeadm token create --ttl {{12h0m0s}}`" } ]
[ { "from": "human", "value": "Check if the Kubernetes cluster is upgradeable and which versions are available via the `kubeadm` command" }, { "from": "gpt", "value": "`kubeadm upgrade plan`" } ]
[ { "from": "human", "value": "Upgrade Kubernetes cluster to a specified version via the `kubeadm` command" }, { "from": "gpt", "value": "`kubeadm upgrade apply {{version}}`" } ]
[ { "from": "human", "value": "View the kubeadm ConfigMap containing the cluster's configuration via the `kubeadm` command" }, { "from": "gpt", "value": "`kubeadm config view`" } ]
[ { "from": "human", "value": "Revert changes made to the host by 'kubeadm init' or 'kubeadm join' via the `kubeadm` command" }, { "from": "gpt", "value": "`kubeadm reset`" } ]
[ { "from": "human", "value": "Tell me about `kube-capacity`." }, { "from": "gpt", "value": "Provide an overview of resource requests, limits, and utilization in a Kubernetes cluster.\nCombine the best parts of `kubectl top` and `kubectl describe` into a CLI focused on cluster resources.\nMore inf...
[ { "from": "human", "value": "List nodes including the total CPU and Memory resource requests and limits via the `kube-capacity` command" }, { "from": "gpt", "value": "`kube-capacity`" } ]
[ { "from": "human", "value": "Include pods via the `kube-capacity` command" }, { "from": "gpt", "value": "`kube-capacity -p`" } ]
[ { "from": "human", "value": "Include utilization via the `kube-capacity` command" }, { "from": "gpt", "value": "`kube-capacity -u`" } ]
[ { "from": "human", "value": "Tell me about `kubectl apply`." }, { "from": "gpt", "value": "Manage applications through files defining Kubernetes resources.\nCreate and update resources in a cluster.\nMore information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#apply...
[ { "from": "human", "value": "Apply a configuration to a resource by file name or `stdin` via the `kubectl-apply` command" }, { "from": "gpt", "value": "`kubectl apply -f {{resource_filename}}`" } ]
[ { "from": "human", "value": "Edit the latest last-applied-configuration annotations of resources from the default editor via the `kubectl-apply` command" }, { "from": "gpt", "value": "`kubectl apply edit-last-applied -f {{resource_filename}}`" } ]
[ { "from": "human", "value": "Set the latest last-applied-configuration annotations by setting it to match the contents of a file via the `kubectl-apply` command" }, { "from": "gpt", "value": "`kubectl apply set-last-applied -f {{resource_filename}}`" } ]
[ { "from": "human", "value": "View the latest last-applied-configuration annotations by type/name or file via the `kubectl-apply` command" }, { "from": "gpt", "value": "`kubectl apply view-last-applied -f {{resource_filename}}`" } ]
[ { "from": "human", "value": "Tell me about `kubectl config`." }, { "from": "gpt", "value": "Manage Kubernetes configuration (kubeconfig) files for accessing clusters via `kubectl` or the Kubernetes API.\nBy default, the Kubernetes will get its configuration from `${HOME}/.kube/config`.\nSee also...
[ { "from": "human", "value": "Get all contexts in the default kubeconfig file via the `kubectl-config` command" }, { "from": "gpt", "value": "`kubectl config get-contexts`" } ]
[ { "from": "human", "value": "Get all clusters/contexts/users in a custom kubeconfig file via the `kubectl-config` command" }, { "from": "gpt", "value": "`kubectl config {{get-clusters|get-contexts|get-users}} --kubeconfig {{path/to/kubeconfig.yaml}}`" } ]
[ { "from": "human", "value": "Get the current context via the `kubectl-config` command" }, { "from": "gpt", "value": "`kubectl config current-context`" } ]
[ { "from": "human", "value": "Switch to another context via the `kubectl-config` command" }, { "from": "gpt", "value": "`kubectl config {{use|use-context}} {{context_name}}`" } ]
[ { "from": "human", "value": "Delete clusters/contexts/users via the `kubectl-config` command" }, { "from": "gpt", "value": "`kubectl config {{delete-cluster|delete-context|delete-user}} {{cluster|context|user}}`" } ]
[ { "from": "human", "value": "Permanently add custom kubeconfig files via the `kubectl-config` command" }, { "from": "gpt", "value": "`export KUBECONFIG=\"{{$HOME.kube/config:path/to/custom/kubeconfig.yaml}}\" kubectl config get-contexts`" } ]
[ { "from": "human", "value": "Tell me about `kubectl create`." }, { "from": "gpt", "value": "Create a resource from a file or from `stdin`.\nMore information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#create>.\n" } ]
[ { "from": "human", "value": "Create a resource using the resource definition file via the `kubectl-create` command" }, { "from": "gpt", "value": "`kubectl create -f {{path/to/file.yml}}`" } ]
[ { "from": "human", "value": "Create a resource from `stdin` via the `kubectl-create` command" }, { "from": "gpt", "value": "`kubectl create -f -`" } ]
[ { "from": "human", "value": "Create a deployment via the `kubectl-create` command" }, { "from": "gpt", "value": "`kubectl create deployment {{deployment_name}} --image={{image}}`" } ]
[ { "from": "human", "value": "Create a deployment with replicas via the `kubectl-create` command" }, { "from": "gpt", "value": "`kubectl create deployment {{deployment_name}} --image={{image}} --replicas={{number_of_replicas}}`" } ]
[ { "from": "human", "value": "Create a service via the `kubectl-create` command" }, { "from": "gpt", "value": "`kubectl create service {{service_type}} {{service_name}} --tcp={{port}}:{{target_port}}`" } ]