Kubernetes-Docker-Registry

JFrog Artifactory ist eine Kubernetes-Docker-Registry und versorgt Ihren k8s-Cluster mit Charts und Images, die für die Orchestrierung Ihrer Anwendung benötigt werden.
Blog

JFrog Artifactory: Your Kubernetes Registry

Use Case

Use Case – Cloud-native container image build, test, deploy pipeline for Kubernetes with Artifactory

Blog

The 3 Kubernetes Essentials: Cluster, Pipeline, and Registry

Blog

SUSE and JFrog Accelerate Cloud Native Development for the Enterprise

How Does JFrog Artifactory serve as my Kubernetes-ready registry?

Kubernetes itself doesn’t manage images for you. You need a Docker registry integrated with your Kubernetes environment to do that.

Docker registries serve as repositories for container images. They make it easy to manage different versions of images for the same container. Advanced registries also provide functionality that scans images for security vulnerabilities. Most registries also provide access control features so that you can place restrictions on who can view and deploy images.

In the remaining FAQs, we explain how to integrate Kubernetes with a Docker registry, using JFrog Artifactory as an example.

How can I integrate Kubernetes with a Docker registry using JFrog Artifactory?

Kubernetes itself has no native Docker registry functionality. However, some Kubernetes distributions or services automatically integrate with specific Docker registries. For example, Red Hat OpenShift comes with a default registry. Some cloud-based Kubernetes services integrate natively with container registries hosted in the same clouds.

Most Kubernetes installations don’t offer registry support out-of-the-box. And even if your Kubernetes environment does feature a native registry integration, you may prefer to use an alternative registry (which is almost always possible).

What are the benefits of Artifactory as a Docker registry?

By choosing a Docker registry option like Artifactory to host container images for your Kubernetes environment, you’ll benefit from several features unavailable in many other Docker registries, including security, local hosting, Docker Hub integration, and flexible artifact hosting.

How can I use Artifactory as a Docker registry for Kubernetes?

The remaining FAQs are examples of how to get started and what you can do when integrating Artifactory with Kubernetes.

Setting up Artifactory on Kubernetes

If you want to run Artifactory within your Kubernetes cluster, you can do so easily using the Artifactory Helm chart.
Search for and install the chart in your Kubernetes Web console to deploy it. Alternatively, install from the command line with:
helm repo add jfrog https://charts.jfrog.io

helm repo update

helm upgrade --install artifactory --namespace artifactory jfrog/artifactory

Note: The default settings are not for Production use.

Pulling a Docker image into Kubernetes from Artifactory

To pull a Docker image into Kubernetes from Artifactory, you need to:

  1. Define a Kubernetes registry secret
  2. Use this secret in your YAML

Running a CI/CD pipeline on Kubernetes with Artifactory

To automate the deployment of Docker images on Kubernetes when using Artifactory as a Docker registry, you can set up a complete CI/CD pipeline. The resources below outline this process:

Trusted Releases Built For Speed

Möchten Sie mehr über die Integration von JFrog mit Kubernetes erfahren?