logo
Alauda Build of Harbor Docs
logo
Alauda Build of Harbor Docs
Navigation

Overview

Introduction
Features
Lifecycle Policy
Release Notes

Install

Installing Operator
Configuring Redis, PostgreSQL, ObjectStorage(s3) and Account Access Credentials
Harbor Instance Deployment

Upgrade

Upgrading Harbor
Harbor Migration Guide: From 2.6.4 to 2.12

Troubleshooting

Modify Harbor Project Permissions Prompt Internal Server Error

How to

HARBOR Backup and Restore Using Velero
Configure Job Log Storage
How to Customize Deployment Templates

API Reference

Introduction

Kubernetes APIs

Harbor
📝 Edit this page on GitHub
Previous PageHARBOR Backup and Restore Using Velero
Next PageHow to Customize Deployment Templates

#Configure Job Log Storage

The Harbor Job Service supports storing job logs in multiple locations:

  • file: Saves logs to local storage. If the Job Service runs on multiple nodes, a PVC must be mounted to provide shared storage.
  • database: Saves logs to the database.
  • stdout: Saves logs to pod stdout (not recommended for production use).

#TOC

#Store Job Logs on Local Storage

Add the following configuration to your Harbor instance:

spec:
  helmValues:
    jobservice:
      jobLoggers:
        - file
    persistence:
      enabled: true
      persistentVolumeClaim:
        jobservice:
          jobLog:
            storageClass: <storage-class-name>
            accessMode: ReadWriteMany
            size: <storage-size>

#Store Job Logs in the Database

Add the following configuration to your Harbor instance:

spec:
  helmValues:
    jobservice:
      jobLoggers:
        - database