
Let’s run these commands in the same directory. apiVersion: v1 kind: Namespace metadata: name: devops-ns - apiVersion: apps/v1 kind: Deployment metadata: name: "nexus-deployment" namespace: devops-ns labels: app: "nexus" spec: replicas: 1 strategy: type: RollingUpdate rollingUpdate: maxSurge: 1 maxUnavailable: 0 selector: matchLabels: app: "nexus" template: metadata: labels: app: "nexus" spec: containers: - image: sonatype/nexus3:3.38.0 env: - name: MAX_HEAP value: "1000m" - name: MIN_HEAP value: "400m" imagePullPolicy: Always name: "nexus" ports: - containerPort: 8081 name: "nexus" volumeMounts: - name: nexus-data mountPath: /nexus-data - name: tz-istanbul mountPath: /etc/localtime volumes: - name: nexus-data hostPath: path: /nexus-data - name: tz-istanbul hostPath: path: /usr/share/zoneinfo/Europe/Istanbul restartPolicy: Always - apiVersion: v1 kind: Service metadata: name: nexus-svc namespace: devops-ns spec: type: NodePort selector: app: nexus ports: - name: "8081" targetPort: 8081 port: 8081 nodePort: 32000 We will create Kubernetes objects like namespace, deployment, and service. Ask Jelastic to create a new environment.We can convert Docker compose file into a Kubernetes file as follows. Go to and sign up if you haven't done it yet or log in with your Jelastic credentials by clicking the Sign In link on the page.Ģ. Steam Community Download and install the add-ons project repository. Sonatype Nexus sets the standard for repository management providing development teams with the ability to proxy remote repositories and share software artifacts.įollow the simple steps below to get one of the best repository managers on the market up and running in a few minutes. Once you start using Nexus, you'll wonder how you have ever functioned without it. Stop developing in the Dark Ages and start using a repository manager. (One-time setup) Copy the Yum configuration file: sonatype-community.repo to your /etc// directory. If you don't have a local place to deploy artifacts you are forced to share binary artifacts using half-measures and compromises such as storing binaries in source control.

If everyone in your team has to hit Central to download artifacts you are loosing speed and efficiency. If you are developing software without a repository manager you are likely missing a number of opportunities to reduce some pretty obvious inefficiencies.
