{"id":18802174,"url":"https://github.com/oracle-quickstart/oke-couchbase","last_synced_at":"2026-05-01T04:36:22.649Z","repository":{"id":69333624,"uuid":"148535238","full_name":"oracle-quickstart/oke-couchbase","owner":"oracle-quickstart","description":"Describes how to use Couchbase on Oracle Kubernetes Engine (OKE)","archived":false,"fork":false,"pushed_at":"2019-10-10T00:24:20.000Z","size":1270,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-12-29T20:15:49.903Z","etag":null,"topics":["cloud","containers","couchbase","docker","kubernetes","oci","oke","partner-led"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oracle-quickstart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-12T20:03:46.000Z","updated_at":"2023-01-31T17:04:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"479dc5f9-7f31-42c7-a3b6-2a2d0e323e9d","html_url":"https://github.com/oracle-quickstart/oke-couchbase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foke-couchbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foke-couchbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foke-couchbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foke-couchbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oracle-quickstart","download_url":"https://codeload.github.com/oracle-quickstart/oke-couchbase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239735263,"owners_count":19688262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","containers","couchbase","docker","kubernetes","oci","oke","partner-led"],"created_at":"2024-11-07T22:26:53.043Z","updated_at":"2026-01-05T01:30:17.982Z","avatar_url":"https://github.com/oracle-quickstart.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# oke-couchbase\nThis is a walkthrough of setting the [Couchbase Operator](https://developer.couchbase.com/documentation/server/current/operator/overview.html) up on [Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE)](https://cloud.oracle.com/containers/kubernetes-engine). It is developed jointly by Oracle and Couchbase.\n\n## Prerequisites\nFirst you're going to need to setup an Oracle Cloud account, your environmental variables, an OKE cluster and your kubectl.  It sounds like a lot, but there's a nice walkthrough [here](https://github.com/oracle/oke-quickstart-prerequisites) that should help.\n\n## Deploying the Operator\nGreat, you made it!\n\nOnce you have an OKE cluster deployed and a running kubectl, you're ready to deploy the Operator. The documentation on that is [here](https://docs.couchbase.com/operator/1.0/install-kubernetes.html).\n\nFirst, you need to download stuff.  This includes a customer kubectl as Couchbase has forked it and created their own.  There are per platform binaries for those.  This downloads the Mac one:\n\n    curl -O https://s3.amazonaws.com/packages.couchbase.com/kubernetes/1.0.0/couchbase-autonomous-operator-kubernetes_1.0.0-macos_x86_64.zip\n    unzip couchbase-autonomous-operator-kubernetes_1.0.0-macos_x86_64.zip\n    cd couchbase-autonomous-operator-kubernetes_1.0.0-macos_x86_64\n    ls\n\nThat gives this:\n\n![](images/01%20-%20download.png)\n\nTo create the deployment and check it deployed, run this:\n\n    kubectl create -f cluster-role.yaml\n    kubectl create serviceaccount couchbase-operator --namespace default\n    kubectl create clusterrolebinding couchbase-operator --clusterrole couchbase-operator --serviceaccount default:couchbase-operator\n    kubectl create -f operator.yaml\n\nWhen you've done all that, you can check the Operator deployed with:\n\n    kubectl get deployments\n\nYou should see something like this:\n\n![](images/02%20-%20get%20deployments.png)\n\n## Deploying a Couchbase Cluster\n\nWe're there!  Time to get a live cluster.  Run this:\n\n    kubectl create -f secret.yaml\n    kubectl create -f couchbase-cluster.yaml\n\nThat should give this:\n\n![](images/03%20-%20cluster%20created.png)\n\nYou can view the Couchbase and operator pods by running:\n\n    kubectl get pods\n\nThis gives:\n\n![](images/04%20-%20get%20pods.png)\n\n## Accessing the Couchbase Web UI\n\nYou've now got a cluster.  But to use it you probably want to set up port forwarding.  To do that run:\n\n    kubectl port-forward cb-example-0000 8091:8091\n\nLeave that command running:\n\n![](images/05%20-%20port%20forward.png)\n\nNow open up a browser to http://localhost:8091\n\n![](images/06%20-%20login%20screen.png)\n\nThe username is `Administrator` and password is `password`.  And now you're in!\n\n![](images/07%20-%20console.png)\n\n## Deleting the Operator\nIf you want to delete the Operator, you can run this:\n\n    kubectl delete deployment couchbase-operator\n    kubectl delete crd couchbaseclusters.couchbase.com\n\nThat gives this:\n\n![](images/08%20-%20delete.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-quickstart%2Foke-couchbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foracle-quickstart%2Foke-couchbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-quickstart%2Foke-couchbase/lists"}