harbor-helm icon indicating copy to clipboard operation
harbor-helm copied to clipboard

How can we ensure 100% uptime?

Open bjethwan opened this issue 6 years ago • 5 comments

We have faced issues during k8s upgrade in past and then I believe upgrading Postgresql schema would require a downtime. So how can we ensure 100% uptime of registry?

How about a redundant k8s cluster hosting a copy of harbor and make this point back to the same S3? Can this redundant harbor share the same rds/postgresql and redis?

Do you recommend running harbor on same k8s as we host our microservices?

bjethwan avatar Nov 12 '19 10:11 bjethwan

Maybe I can add redundant harbor instance on another k8s and use replication to keep them in sync?

bjethwan avatar Nov 14 '19 08:11 bjethwan

Considering Harbor's HA Deployment (ie. with external postgres & redis), which of the below deployment models would make most sense?

Current Deployment Model image

Option-1: Dedicated k8s for harbor image

Option-2: Harbor sharing k8s with other production workloads. image

Option-3: Readonly Harbor instances sharing k8s with other production workloads image

Question: Can multiple harbor instances in the same region or AZ share the S3 bucket? Can there be any write conflicts?

bjethwan avatar Nov 15 '19 10:11 bjethwan

@hainingzhang this definitely requires some attention. what's your thought on this?

castell-mua avatar Nov 16 '19 03:11 castell-mua

Does this look better? image

bjethwan avatar Nov 25 '19 19:11 bjethwan

@bjethwan By 100% uptime, we have to clarify what's the expectation.
given we can’t ensure backward compatibility of the schema, and upgrading schema requires downtime, we need to be clear what data change happened on slave Harbor must be visible on master after master finish the upgrade.

reasonerjt avatar Mar 03 '20 09:03 reasonerjt