aem-operator

module
v0.0.0-...-c3e3b63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2020 License: AGPL-3.0

README

Adobe AEM Operator

Overview

The Adobe AEM operator manages AEM deployments of authors, publishers, and dispatchers deployed to Kubernetes and automates tasks related to operating a deployemnt.

Requirements

  • Kubernetes 1.9+
  • Adobe AEM 6.3+

Create and destroy an Adobe AEM deployment

$ kubectl create namespace demo
$ kubectl create -f example/example-aem-deployment.yaml

A 3 member deployment will be created.

$ kubectl get pods
NAME                 READY     STATUS    RESTARTS   AGE
dev-author-001       1/1       Running   0          6h
dev-dispatcher-001   1/1       Running   6          6h
dev-publish-001      1/1       Running   0          6h

Limitations

  • AWS Support only (for now)

Dependencies

Get dependencies

dep ensure -vendor-only -v

Development

Setup

In development the aem-operator needs to have access to Vault server, authos, publishers and disptachers.

  • For Vault you can have access via port-forward the active Vault pod
# to get de active pod
activePod=$(kubectl -n bedrock get vault grid-vault -o jsonpath='{.status.vaultStatus.active}')
kubectl -n bedrock port-forward $activePod 8200
  • For authos, publishers and disptachers IPs via VPN access: create a vpn configuration file in xumak-grid/k8s-clusters/test/setup-vpn.sh

Export the following environment vars:

# The namespace the operator will listen
export DEV_OPERATOR_NAMESPACE=ehernandez
# Vault config
export VAULT_ADDR=https://127.0.0.1:8200
export VAULT_TOKEN=SECRET-TOKEN-HERE
export VAULT_SKIP_VERIFY=true
# External DNS for grid, the following is for 'test' cluster
export GRID_EXTERNAL_DOMAIN=test.grid.xumak.io

# Run the operator
make

Copyright © 2016 Tikal Technologies, Inc.

Directories

Path Synopsis
cmd
pkg
apis/aem/v1beta1
Package v1beta1 is the v1beta1 version of the API.
Package v1beta1 is the v1beta1 version of the API.
cmd
k8s

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL