kubernetes-plugin
Jenkins plugin to run dynamic agents in a Kubernetes/Docker environment
파일 탐색기
- auto-merge-safe-deps.yml
- cd.yaml
- close-bom-if-passing.yml
- jenkins-security-scan.yml
- autolabeler.yaml
- CODEOWNERS
- renovate.json
- extensions.xml
- maven.config
- Jenkinsfile
- KubernetesPod.yaml
- containerLog.groovy
- dind.groovy
- dood.groovy
- kaniko-declarative.groovy
- kaniko-gcr.groovy
- kaniko.groovy
- maven-with-cache-pvc.yml
- maven-with-cache.groovy
- multi-container.groovy
- openshift-home-yaml.groovy
- README.md
- selenium.groovy
- cloud-configuration.png
- garbage-collection.png
- mypod-1-general.png
- mypod-2-golang.png
- mypod-3-maven.png
- pod-template-configuration.png
- master-executors.groovy
- NoDelayProvisionerStrategy.java
- KeyValueEnvVar.java
- SecretEnvVar.java
- TemplateEnvVar.java
- AbstractInvisibleRunAction2.java
- Constants.java
- ContainerExecDecorator.java
- ContainerExecProc.java
- ContainerListenDecorator.java
- ContainerLogStep.java
- ContainerLogStepExecution.java
- ContainerStep.java
- ContainerStepExecution.java
- KubernetesAgentErrorCondition.java
- KubernetesDeclarativeAgent.java
- KubernetesNodeContext.java
- KubernetesSamples.java
- NamespaceAction.java
- PodTemplateAction.java
- PodTemplateContext.java
- PodTemplateMap.java
- PodTemplateStep.java
- PodTemplateStepExecution.java
- Resources.java
- SecretsMasker.java
- DefaultNodeSelector.java
- DefaultRestartPolicy.java
- DefaultWorkspaceVolume.java
- PodDecorator.java
- PodDecoratorException.java
- Always.java
- Default.java
- Evicted.java
- Never.java
- OnFailure.java
- PodOfflineCause.java
- PodRetention.java
- PodRetentionDescriptor.java
- Reaper.java
- Merge.java
- Overrides.java
- YamlMergeStrategy.java
- DynamicPVCWorkspaceVolume.java
- EmptyDirWorkspaceVolume.java
- GenericEphemeralWorkspaceVolume.java
- HostPathWorkspaceVolume.java
- NfsWorkspaceVolume.java
- PersistentVolumeClaimWorkspaceVolume.java
- WorkspaceVolume.java
- ConfigMapVolume.java
- DynamicPVC.java
- DynamicPVCVolume.java
- EmptyDirVolume.java
- EphemeralVolume.java
- GenericEphemeralVolume.java
- HostPathVolume.java
- NfsVolume.java
- PersistentVolumeClaim.java
- PodVolume.java
- ProvisionedVolume.java
- PVCVolumeUtils.java
- SecretVolume.java
- PodStatusEventHandler.java
- ContainerEnvVar.java
- ContainerLivenessProbe.java
- ContainerTemplate.java
- DefaultInProvisioning.java
- EventsAction.java
- GarbageCollection.java
- InProvisioning.java
- KubectlBuildWrapper.java
- KubernetesClientProvider.java
- KubernetesCloud.java
- KubernetesCloudTrait.java
- KubernetesCloudTraitDescriptor.java
- KubernetesComputer.java
- KubernetesComputerFactory.java
- KubernetesFactoryAdapter.java
- KubernetesFolderProperty.java
- KubernetesLauncher.java
- KubernetesProvisioningLimits.java
- KubernetesQueueTaskDispatcher.java
- KubernetesSlave.java
- LimitRegistrationResults.java
- MetricNames.java
- NonConfigurableKubernetesCloud.java
- OpenShiftBearerTokenCredentialImpl.java
- OpenShiftTokenCredentialImpl.java
- PlannedNodeBuilder.java
- PlannedNodeBuilderFactory.java
- PodAnnotation.java
- PodContainerSource.java
- PodEnvVar.java
- PodImagePullSecret.java
- PodLabel.java
- PodLogAction.java
- PodTemplate.java
- PodTemplateBuilder.java
- PodTemplateFilter.java
- PodTemplateGroup.java
- PodTemplateLabelFilter.java
- PodTemplateSource.java
- PodTemplateToolLocation.java
- PodTemplateUtils.java
- PodUtils.java
- PodVolumes.java
- PortMapping.java
- RestrictedPssSecurityContextInjector.java
- Serialization2.java
- ServiceAccountCredential.java
- StandardPlannedNodeBuilder.java
- TaskListenerEventWatcher.java
- TokenProducer.java
- jenkins.yml
- service-account.yml
- config.jelly
- config_zh_CN.properties
- help-execArgs.html
- help-failureThreshold.html
- help-initialDelaySeconds.html
- help-periodSeconds.html
- help-successThreshold.html
- help-timeoutSeconds.html
- config.jelly
- config_zh_CN.properties
- help-alwaysPullImage.html
- help-args.html
- help-command.html
- help-envVars.html
- help-image.html
- help-name.html
- help-privileged.html
- help-resourceLimitCpu.html
- help-resourceLimitMemory.html
- help-resourceRequestCpu.html
- help-resourceRequestMemory.html
- help-runAsGroup.html
- help-runAsUser.html
- help-ttyEnabled.html
- help-workingDir.html
- index.jelly
- config.jelly
- help-namespaces.html
- config.jelly
- config_zh_CN.properties
- help-caCertificate.html
- help-serverUrl.html
- help.html
- config.jelly
- config_zh_CN.properties
- help-activeContainers.html
- help-addMasterProxyEnvVars.html
- help-connectTimeout.html
- help-containerCapStr.html
- help-defaultsProviderTemplate.html
- help-directConnection.html
- help-garbageCollection.html
- help-jenkinsTunnel.html
- help-jenkinsUrl.html
- help-jnlpregistry.html
- help-maxRequestsPerHostStr.html
- help-name.html
- help-password.html
- help-podLabels.html
- help-podRetention.html
- help-readTimeout.html
- help-restrictedPssSecurityContext.html
- help-retentionTimeout.html
- help-serverCertificate.html
- help-serverUrl.html
- help-skipTlsVerify.html
- help-usageRestricted.html
- help-useJenkinsProxy.html
- help-username.html
- help-waitForPodSec.html
- help-webSocket.html
- new.jelly
- sidepanel.jelly
- sidepanel.properties
- templates.jelly
- container.jelly
- sidepanel2.jelly
- config.jelly
- config_zh_CN.properties
- configure-entries.jelly
- configure-entries_zh_CN.properties
- config.jelly
- config_zh_CN.properties
- help-key.html
- help-value.html
- config.jelly
- config_zh_CN.properties
- help-key.html
- help-optional.html
- help-secretKey.html
- help-secretName.html
- config.jelly
- config.jelly
- help-limitBytes.html
- help-name.html
- help-returnLog.html
- help-sinceSeconds.html
- help-tailingLines.html
- config.jelly
- help-shell.html
- help.html
- config.jelly
- help-handleNonKubernetes.html
- help.html
- config.jelly
- help-customWorkspace.html
- help-defaultContainer.html
- config.jelly
- help-cloud.html
- help-label.html
- help.html
- declarative.groovy
- maven.groovy
- windows.groovy
- container-bootstrap.sh
- kill-process-by-id.ps1
- kill-processes-with-cookie.ps1
- ProcessEnvironmentReader.cs
- KubernetesDeclarativeAgentScript.groovy
- Messages.properties
- Messages.properties
- Messages_zh_CN.properties
- config.jelly
- config.jelly
- config.jelly
- config_zh_CN.properties
- help-key.html
- help-value.html
- config.jelly
- config_zh_CN.properties
- help-name.html
- config.jelly
- config_zh_CN.properties
- help-key.html
- help-value.html
- index.jelly
- config.jelly
- config_zh_CN.properties
- help-activeDeadlineSeconds.html
- help-agentContainer.html
- help-agentInjection.html
- help-annotations.html
- help-containers.html
- help-envVars.html
- help-hostNetwork.html
- help-idleMinutes.html
- help-imagePullSecrets.html
- help-inheritFrom.html
- help-inheritYamlMergeStrategy.html
- help-instanceCap.html
- help-label.html
- help-name.html
- help-namespace.html
- help-nodeSelector.html
- help-podRetention.html
- help-runAsGroup.html
- help-runAsUser.html
- help-serviceAccount.html
- help-showRawYaml.html
- help-slaveConnectTimeout.html
- help-supplementalGroups.html
- help-volumes.html
- help-workingDir.html
- help-workspaceVolume.html
- help-yaml.html
- help-yamlMergeStrategy.html
- index.jelly
- sidepanel.jelly
- sidepanel.properties
- config.jelly
- config_zh_CN.properties
- help-containerPort.html
- help-hostPort.html
- help-name.html
- credentials.jelly
- config.jelly
- config_zh_CN.properties
- help-configMapName.html
- help-optional.html
- config.jelly
- config.jelly
- config_zh_CN.properties
- help-memory.html
- config.jelly
- config.jelly
- config_zh_CN.properties
- help-hostPath.html
- help-readOnly.html
- config.jelly
- config_zh_CN.properties
- help-serverAddress.html
- help-serverPath.html
- config.jelly
- config_zh_CN.properties
- help-claimName.html
- help-readOnly.html
- help-accessModes.html
- help-mountPath.html
- help-requestsSize.html
- help-storageClassName.html
- help-subPath.html
- config.jelly
- config_zh_CN.properties
- help-defaultMode.html
- help-optional.html
- help-secretName.html
- config.jelly
- config.jelly
- config_zh_CN.properties
- help-memory.html
- help-sizeLimit.html
- config.jelly
- config.jelly
- config_zh_CN.properties
- help-hostPath.html
- config.jelly
- config_zh_CN.properties
- help-serverAddress.html
- help-serverPath.html
- config.jelly
- config_zh_CN.properties
- help-claimName.html
- help-readOnly.html
- help-accessModes.html
- help-requestsSize.html
- help-storageClassName.html
- Dockerfile
- Messages.properties
- Messages_zh_CN.properties
- index.jelly
- kubernetes.png
- kubernetes.png
- kubernetes.png
- excludesFilter.xml
- CasCTest.java
- EnvVarCasCTest.java
- VolumeCasCTest.java
- WorkspaceVolumeCasCTest.java
- AssertBuildLogMessage.java
- AssertBuildStatusSuccess.java
- CreateWorkflowJobThenScheduleRun.java
- CreateWorkflowJobThenScheduleTask.java
- package-info.java
- RunId.java
- SetupCloud.java
- AbstractKubernetesPipelineRJRTest.java
- AbstractKubernetesPipelineTest.java
- ContainerExecDecoratorPipelineTest.java
- ContainerExecDecoratorTest.java
- ContainerExecDecoratorWindowsTest.java
- ContainerListenDecoratorTest.java
- ContainerLogStepTest.java
- DirectConnectionTest.java
- KubernetesAgentErrorConditionTest.java
- KubernetesDeclarativeAgentRJRTest.java
- KubernetesDeclarativeAgentTest.java
- KubernetesDeclarativeAgentUnitTest.java
- KubernetesNodeContextTest.java
- KubernetesPipelineOverriddenNamespaceTest.java
- KubernetesPipelineRJRTest.java
- KubernetesPipelineTest.java
- KubernetesPipelineWebsocketRJRTest.java
- KubernetesSamplesTest.java
- NoDelayProvisionerStrategyTest.java
- PodNameTest.java
- PodProvisioningStatusLogsTest.java
- PodTemplateStepExecutionTest.java
- PodTemplateStepTest.java
- ResourcesTest.java
- RestartPipelineTest.java
- WebSocketTest.java
- PodDecoratorTest.java
- PodRetentionTest.java
- ReaperTest.java
- GenericEphemeralWorkspaceVolumeTest.java
- GenericEphemeralVolumeTest.java
- AbstractGoldenFileTest.java
- ClientAuthenticationTest.java
- ConfigMapVolumeTest.java
- ContainerTemplateTest.java
- KubectlBuildWrapperTest.java
- KubernetesClientProviderTest.java
- KubernetesCloudFIPSTest.java
- KubernetesCloudTest.java
- KubernetesCloudTraitTest.java
- KubernetesFactoryAdapterTest.java
- KubernetesFolderPropertyTest.java
- KubernetesLauncherTest.java
- KubernetesProvisioningLimitsTest.java
- KubernetesQueueTaskDispatcherTest.java
- KubernetesRestartTest.java
- KubernetesSlaveTest.java
- KubernetesTest.java
- KubernetesTestUtil.java
- MetricNamesTest.java
- NonConfigurableKubernetesCloudTest.java
- PodContainerSourceTest.java
- PodEnvVarTest.java
- PodTemplateBuilderTest.java
- PodTemplateFilterTest.java
- PodTemplateJenkinsTest.java
- PodTemplateMapTest.java
- PodTemplateTest.java
- PodTemplateUtilsTest.java
- PodUtilsTest.java
- RestrictedPssSecurityInjectorTest.java
- TaskListenerEventWatcherTest.java
- org.mockito.plugins.MockMaker
- casc_envVar_keyValue.yaml
- casc_envVar_secret.yaml
- casc_volume_configMap.yaml
- casc_volume_emptyDir.yaml
- casc_volume_emptyDir_memory.yaml
- casc_volume_genericEphemeral.yaml
- casc_volume_hostPath.yaml
- casc_volume_nfs.yaml
- casc_volume_pvc.yaml
- casc_workspaceVolume_dynamicPVC.yaml
- casc_workspaceVolume_emptyDir.yaml
- casc_workspaceVolume_emptyDir_memory.yaml
- casc_workspaceVolume_genericEphemeral.yaml
- casc_workspaceVolume_hostPath.yaml
- casc_workspaceVolume_nfs.yaml
- casc_workspaceVolume_pvc.yaml
- configuration-as-code.yaml
- dsa1024
- dsa2048
- ecdsa192
- ecdsa224
- not-a-cert
- rsa1024
- rsa2048
- config.xml
- config.xml
- config.xml
- config.xml
- config.xml
- config.xml
- config.xml
- config.xml
- credentials.xml
- config.xml
- credentials.xml
- config.xml
- credentials.xml
- config.xml
- config.xml
- config.xml
- credentials.xml
- activeContainerCustomWorkingDir.groovy
- activeContainerInterruptedPod.groovy
- activeContainerPassiveSidecar.groovy
- activeContainerSmokes.groovy
- badcontainername.groovy
- badcontainernameyaml.groovy
- basicPipeline.groovy
- basicWindows.groovy
- bourneShellElsewhereInPath.groovy
- cancelOnlyRelevantQueueItem.groovy
- cascadingDelete.groovy
- closedWebSocketExit.groovy
- computerCantBeConfigured.groovy
- containerEnvironmentIsHonored.groovy
- containerStatusErrorLogs.groovy
- containerTerminated.groovy
- declarative.groovy
- declarativeCustomWorkingDir.groovy
- declarativeCustomWorkspace.groovy
- declarativeFromYaml.groovy
- declarativeFromYamlFile.groovy
- declarativeFromYamlWithNullEnv.groovy
- declarativeRetries.groovy
- declarativeShowRawYamlFalse.groovy
- declarativeWithCreateContainerError.groovy
- declarativeWithNamespaceFromYaml.groovy
- declarativeWithNestedExplicitInheritance.groovy
- declarativeWithNonexistentDockerImage.groovy
- declarativeYamlFile.yml
- decoratorFailure.groovy
- directConnectionAgent.groovy
- docker.groovy
- dynamicPVCVolume.groovy
- dynamicPVCWorkspaceVolume.groovy
- envVarDollarSignEscaping.groovy
- errorPod.groovy
- garbageCollection.groovy
- getContainerLog.groovy
- getContainerLogWithRestart.groovy
- handleEviction.groovy
- id_rsa
- imageWithoutAgent.groovy
- imageWithoutAgentNoJava.groovy
- inheritFrom.groovy
- interruptedPod.groovy
- interruptedPodWindows.groovy
- invalidImageGetsCancelled.groovy
- invalidPodGetsCancelled.groovy
- jenkinsSecretHidden.groovy
- jnlpWorkingDir.groovy
- killsProcessesWindows.groovy
- mergeYaml.groovy
- noDelayProvisionerCallsListener.groovy
- nullLabelSupportsRestart.groovy
- octalPermissions.groovy
- overrideYaml.groovy
- podDeadlineExceeded.groovy
- podDeadlineExceededGlobalTemplate.groovy
- podStatusErrorLogs.groovy
- podStatusNoErrorLogs.groovy
- podTemplateWithMultipleLabels.groovy
- restartDuringPodLaunch.groovy
- runDirContext.groovy
- runIn2Pods.groovy
- runInDynamicallyCreatedContainer.groovy
- runInPod.groovy
- runInPodFromYaml.groovy
- runInPodNested.groovy
- runInPodNestedExplicitInherit.groovy
- runInPodWithDifferentShell.groovy
- runInPodWithExistingTemplate.groovy
- runInPodWithLivenessProbe.groovy
- runInPodWithMultipleContainers.groovy
- runInPodWithRestart.groovy
- runInPodWithRestartWithLongSleep.groovy
- runInPodWithRestartWithMultipleContainerCalls.groovy
- runInPodWithRetention.groovy
- runInPodWithShowRawYamlFalse.groovy
- runWithActiveDeadlineSeconds.groovy
- runWithCloudOverriddenNamespace.groovy
- runWithEnvVariables.groovy
- runWithEnvVariablesInContext.groovy
- runWithOverriddenEnvVariables.groovy
- runWithStepOverriddenNamespace.groovy
- secretMaskingWindows.groovy
- showRawYamlFalseInherited.groovy
- sidecarWorkingDir.groovy
- sshagent.groovy
- substituteEnv.groovy
- supportComputerEnvVars.groovy
- taskListenerAfterRestart.groovy
- taskListenerAfterRestart_multipleLabels.groovy
- terminatedPod.groovy
- terminatedPodAfterRestart.groovy
- webSocketAgent.groovy
- windowsContainer.groovy
- windowsRestart.groovy
- decimal.yaml
- octal.yaml
- agentInjection-after.yaml
- agentInjection-before.yaml
- existingSecurityContext-after.yaml
- existingSecurityContext-before.yaml
- multiContainer-after.yaml
- multiContainer-before.yaml
- simple-after.yaml
- simple-before.yaml
- kubectlBuildWrapper_invalidCredentials.groovy
- kubectlBuildWrapper_missingCredentials.groovy
- pod-busybox.yaml
- pod-jnlp-nullenv.yaml
- pod-overrides.yaml
- kubeconfig
- kubenamespace
- .dockerignore
- .git-blame-ignore-revs
- .gitignore
- CHANGELOG-archive.md
- CLAUDE.md
- configuration.png
- credentials.png
- Dockerfile
- Jenkinsfile
- kind-preload.sh
- kind.sh
- LICENSE
- pom.xml
- README.md
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
docker build
설명 보기 ▼
docker build
Build an image from a Dockerfile.
docker build .
Build a Docker image using the Dockerfile in the current directory:
docker build {{github.com/creack/docker-firefox}}
Build a Docker image from a Dockerfile at a specified URL:
docker build {{[-t|--tag]}} {{name:tag}} .
Build a Docker image and tag it:
docker run
설명 보기 ▼
docker run
This command is an alias of `docker container run`.
tldr docker container run
View documentation for the original command:
gcloud container
설명 보기 ▼
gcloud container
Manage containerized applications on Kubernetes and clusters.
See also: `gcloud`.
gcloud auth configure-docker
Register `gcloud` as a Docker credential helper:
gcloud container clusters create {{cluster_name}}
Create a cluster to run GKE containers:
gcloud container clusters list
List clusters for running GKE containers:
git
설명 보기 ▼
git
분산 버전 관리 시스템.
`commit`, `add`, `branch`, `checkout`, `push` 등의 특정 하위 명령어는 고유의 문서가 따로 있습니다.
더 많은 정보: <https://git-scm.com/docs/git>.
git init
하위 명령어 실행:
git clone {{https://example.com/repo.git}}
특정 레파지토리 위치에서 Git 하위 명령어 실행:
git status
주어진 설정으로 Git 하위 명령어 실행:
kind
설명 보기 ▼
kind
Docker 컨테이너 "노드"를 사용하여 로컬 Kubernetes 클러스터를 실행.
Kubernetes 자체 테스트를 위해 설계되었으나, 로컬 개발이나 지속적 통합에도 사용 가능.
더 많은 정보: <https://github.com/kubernetes-sigs/kind>.
kind create cluster --name {{cluster_name}}
로컬 Kubernetes 클러스터 생성:
kind delete clusters {{cluster_name}}
하나 이상의 클러스터 삭제:
kind get {{clusters|nodes|kubeconfig}}
클러스터, 노드 또는 kubeconfig에 대한 세부 정보 가져오기:
kubectl config
설명 보기 ▼
kubectl config
Manage Kubernetes configuration (kubeconfig) files for accessing clusters via `kubectl` or the Kubernetes API.
By default, the Kubernetes will get its configuration from `${HOME}/.kube/config`.
See also: `kubectx`, `kubens`.
kubectl config get-contexts
Get all contexts in the default kubeconfig file:
kubectl config {{get-clusters|get-contexts|get-users}} --kubeconfig {{path/to/kubeconfig.yaml}}
Get all clusters/contexts/users in a custom kubeconfig file:
kubectl config current-context
Get the current context:
kubectl create
설명 보기 ▼
kubectl create
Create a resource from a file or from `stdin`.
kubectl create {{[-f|--filename]}} {{path/to/file.yml}}
Create a resource using the resource definition file:
kubectl create {{[-f|--filename]}} -
Create a resource from `stdin`:
kubectl create {{[deploy|deployment]}} {{deployment_name}} --image {{image}}
Create a deployment:
kubectl delete
설명 보기 ▼
kubectl delete
Delete Kubernetes resources.
kubectl delete {{[po|pods]}} {{pod_name}}
Delete a specific pod:
kubectl delete {{[deploy|deployments]}} {{deployment_name}}
Delete a specific deployment:
kubectl delete {{[no|nodes]}} {{node_name}}
Delete a specific node:
kubectl describe
설명 보기 ▼
kubectl describe
Show details of Kubernetes resources.
kubectl describe {{[po|pods]}} {{[-n|--namespace]}} {{namespace}}
Show details of pods in a namespace:
kubectl describe {{[no|nodes]}} {{[-n|--namespace]}} {{namespace}}
Show details of nodes in a namespace:
kubectl describe {{[po|pods]}} {{pod_name}} {{[-n|--namespace]}} {{namespace}}
Show the details of a specific pod in a namespace:
kubectl get
설명 보기 ▼
kubectl get
Get Kubernetes objects and resources.
kubectl get {{[ns|namespaces]}}
Get all namespaces in the current cluster:
kubectl get {{[no|nodes]}} {{[-n|--namespace]}} {{namespace}}
Get nodes in a specified namespace:
kubectl get {{[po|pods]}} {{[-n|--namespace]}} {{namespace}}
Get pods in a specified namespace:
kubectl krew
설명 보기 ▼
kubectl krew
Plugin manager for `kubectl`.
See also: `kubectl-plugin`.
kubectl krew search
Search for available plugins:
kubectl krew install {{plugin_name}}
Install a plugin:
kubectl krew list
List installed plugins:
kubectl logs
설명 보기 ▼
kubectl logs
Show logs for containers in a pod.
kubectl logs {{pod_name}}
Show logs for a single-container pod:
kubectl logs {{[-c|--container]}} {{container_name}} {{pod_name}}
Show logs for a specified container in a pod:
kubectl logs --all-containers={{true}} {{pod_name}}
Show logs for all containers in a pod:
kubectl
설명 보기 ▼
kubectl
Kubernetes 클러스터에서 명령을 실행하기 위한 명령줄 인터페이스.
`run`과 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다.
더 많은 정보: <https://kubernetes.io/docs/reference/kubectl/>.
kubectl get {{pods|service|deployment|ingress|...}} {{[-o|--output]}} wide
리소스에 대한 정보를 자세히 나열:
kubectl label pods {{name}} unhealthy=true
지정된 포드에 'unhealthy' 레이블과 'true' 값을 추가:
kubectl get all
다양한 유형의 모든 리소스 나열:
minikube start
설명 보기 ▼
minikube start
Start `minikube` with different configurations.
minikube start --kubernetes-version {{v1.24.0}}
Start `minikube` with a specific Kubernetes version:
minikube start --memory {{2048}} --cpus {{2}}
Start `minikube` with specific resource allocations (e.g., memory and CPU):
minikube start --driver {{virtualbox}}
Start `minikube` with a specific driver (e.g., VirtualBox):
minikube
설명 보기 ▼
minikube
Kubernetes를 로컬에서 실행.
더 많은 정보: <https://minikube.sigs.k8s.io/docs/>.
minikube start
클러스터 시작:
minikube ip
클러스터의 IP 주소 가져오기:
minikube service {{my_service}} --url
노드 포트를 통해 노출된 my_service라는 서비스에 접근하고 URL 가져오기:
mvn
설명 보기 ▼
mvn
Apache Maven: Java 기반 프로젝트를 빌드하고 관리.
더 많은 정보: <https://manned.org/mvn>.
mvn compile
프로젝트 컴파일:
mvn package
컴파일된 코드를 `jar`와 같은 배포 가능한 형식으로 패키지:
mvn package {{[-D|--define]}} skipTests
유닛 테스트를 건너뛰고 컴파일 및 패키지:
node
설명 보기 ▼
node
서버 측 JavaScript 플랫폼 (Node.js).
더 많은 정보: <https://nodejs.org/docs/latest/api/cli.html#options>.
node {{path/to/file}}
JavaScript 파일 실행:
node
REPL(대화형 셸) 시작:
node --watch {{path/to/file}}
지정된 파일을 실행하고 가져온 파일이 변경될 때 프로세스를 재시작 (Node.js 버전 18.11+ 필요):
openssl
설명 보기 ▼
openssl
OpenSSL 암호화 도구 모음.
`req`와 같은 일부 하위명령어는 별도의 사용법 문서를 가짐.
더 많은 정보: <https://docs.openssl.org/master/man1/openssl/>.
openssl genpkey -algorithm {{rsa|ec}} -out {{path/to/private.key}} -aes256
개인 키 생성 및 AES-256으로 출력 파일 암호화:
openssl rsa -in {{path/to/private.key}} -pubout -out {{path/to/public.key}}
`rsa`를 사용해 개인키(`private.key`)로부터 공개 키 생성:
openssl req -new -x509 -key {{path/to/private.key}} -out {{path/to/certificate.crt}} -days 365
지정된 기간(365일) 동안 유효한 자체 서명 인증서 생성:
container
설명 보기 ▼
container
Create and run Linux containers as lightweight virtual machines on macOS.
container system start
Start the container services (required before running containers):
container run --rm {{[-it|--interactive --tty]}} {{image}} {{sh}}
Run a container from an image interactively and remove it after it exits:
container run {{[-d|--detach]}} --name {{container_name}} {{[-p|--publish]}} {{8080:80}} {{image}}
Run a container in the background with a name and a published port:
