Kubernetes operator for XP Network Configuration

Enonic version: 7.11.1
OS: MacOS

I am preparing deployment of XP to a K8-Cluster. I followed the instructions and configurations for a simple deployment here: Kubernetes Operator for Enonic XP

I have Docker-Desktop with Kubernetes Cluster enabled. I also deployed an Ingress-Service as described here Installation Guide - NGINX Ingress Controller

I have configured EFS Storage. Everything is up and running.
I changed the host in Ingress-Resource to localhost (and also just skipped it)

When I call http://localhost I get a 404 from nginx.

Here are some more info:

$ kubectl -n my-namespace get xp7deployments.enonic.cloud

NAME            ENABLED   VERSION   STATE     MSG
my-deployment   true      7.11.1    RUNNING   OK

kubectl -n my-namespace get xp7configs.enonic.cloud

tNAME                 NODEGROUP   FILE                              STATE   MSG
all-admin            all         com.enonic.xp.app.main.cfg        READY   OK
all-cluster          all         com.enonic.xp.cluster.cfg         READY   OK
all-logback          all         logback.xml                       READY   OK
all-system           all         system.properties                 READY   OK
main-elasticsearch   main        com.enonic.xp.elasticsearch.cfg   READY   OK
main-vhosts          main        com.enonic.xp.web.vhost.cfg       READY   OK
my-config            all         com.my-app.cfg                    READY   OK

kubectl -n my-namespace get xp7apps.enonic.cloud

tNAME            KEY                            VERSION   STATE     MSG
contentstudio   com.enonic.app.contentstudio   3.2.0     RUNNING   OK

kubectl -n my-namespace logs -c exp main-0

Found custom setenv.sh file in XP_HOME folder, copying it into runtime...
Running prescript for node main-0 (10.1.0.70)
Bootstrap deploy folder apps
Adding snapshotter-c5e507a506.jar ... skipped! Already exists!
                         _____
____________________________(_)______   ____  _________
_  _ \_  __ \  __ \_  __ \_  /_  ___/   __  |/_/__  __ \
/  __/  / / / /_/ /  / / /  / / /__     __>  < __  /_/ /
\___//_/ /_/\____//_/ /_//_/  \___/     /_/|_| _  .___/
                                               /_/

# Enonic XP 7.11.1
# Built on 2022-12-05T13:55:13Z (hash = 7f5f186f2af538226fdd199abf787d21ac310631, branch = 7f5f186f2af538226fdd199abf787d21ac310631)
# OpenJDK 64-Bit Server VM 11.0.15 (GraalVM Community)
# Linux 5.15.49-linuxkit (aarch64)
# Install directory is /enonic-xp
# Home directory is /enonic-xp/home

2022-12-17 08:40:52,050 INFO  c.e.x.l.i.framework.FrameworkService - Starting Enonic XP...
2022-12-17 08:40:52,425 INFO  c.e.x.l.i.p.ProvisionActivator - Installing 96 bundles...
2022-12-17 08:40:55,030 INFO  ROOT - bundle org.apache.felix.scr:2.2.2 (10) Starting with globalExtender setting: false
2022-12-17 08:40:55,042 INFO  ROOT - bundle org.apache.felix.scr:2.2.2 (10)  Version = 2.2.2
2022-12-17 08:40:56,815 INFO  c.h.osgi.HazelcastOSGiService - HazelcastOSGiServiceImpl{ownerBundle=com.hazelcast [23], hazelcastInstance=null, active=false, id=3.12.13#OSS} has been registered as OSGI service and activated now
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
2022-12-17 08:40:59,235 INFO  c.e.x.s.i.config.ConfigInstallerImpl - Loaded config for [com.enonic.xp.app.main]
2022-12-17 08:40:59,310 INFO  c.e.x.s.i.config.ConfigInstallerImpl - Loaded config for [com.enonic.xp.cluster]
2022-12-17 08:40:59,311 INFO  c.e.x.s.i.config.ConfigInstallerImpl - Loaded config for [com.enonic.xp.elasticsearch]
2022-12-17 08:40:59,313 INFO  c.e.x.s.i.config.ConfigInstallerImpl - Loaded config for [com.enonic.xp.web.vhost]
2022-12-17 08:40:59,315 INFO  c.e.x.s.i.config.ConfigInstallerImpl - Loaded config for [com.my-app]
2022-12-17 08:40:59,328 INFO  c.e.x.s.shell.impl.ShellActivator - Remote shell access is disabled
2022-12-17 08:40:59,910 INFO  c.e.x.s.internal.trace.TraceService - Call tracing is disabled in config
2022-12-17 08:41:00,120 INFO  c.e.x.c.i.a.c.AuditLogConfigImpl - Audit log is enabled and mappings updated.
2022-12-17 08:41:00,128 INFO  c.e.x.i.blobstore.BlobStoreActivator - Waiting for blobstore-provider [file]
2022-12-17 08:41:00,128 INFO  c.e.x.i.blobstore.BlobStoreActivator - Found blobstore-provider [file]
2022-12-17 08:41:00,213 INFO  c.e.x.i.blobstore.BlobStoreActivator - Registered blobstore [file] successfully
2022-12-17 08:41:00,935 INFO  c.e.x.s.i.ScriptRuntimeFactoryActivator - Using Nashorn as script engine
2022-12-17 08:41:01,313 INFO  c.e.x.w.v.i.c.VirtualHostServiceImpl - Virtual host is enabled and mappings updated.
2022-12-17 08:41:01,325 INFO  org.elasticsearch.node - [main-0] version[2.4.6], pid[1], build[NA/NA]
2022-12-17 08:41:01,326 INFO  org.elasticsearch.node - [main-0] initializing ...
2022-12-17 08:41:01,409 INFO  org.elasticsearch.plugins - [main-0] modules [], plugins [], sites []
2022-12-17 08:41:01,424 INFO  org.elasticsearch.env - [main-0] using [1] data paths, mounts [[/enonic-xp/home/repo/index (/dev/vda1)]], net usable_space [44.4gb], net total_space [58.3gb], spins? [possibly], types [ext4]
2022-12-17 08:41:01,424 INFO  org.elasticsearch.env - [main-0] heap size [154mb], compressed ordinary object pointers [true]
2022-12-17 08:41:01,809 INFO  c.e.x.l.i.framework.FrameworkService - Started Enonic XP in 9760 ms
2022-12-17 08:41:01,809 INFO  E.F.org.apache.felix.framework - FrameworkEvent STARTLEVEL CHANGED
2022-12-17 08:41:03,028 WARN  org.elasticsearch.bootstrap - unable to load JNA native support library, native methods will be disabled.
java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-aarch64/libjnidispatch.so) not found in resource path (/enonic-xp/lib/launcher-main-7.11.1.jar:/enonic-xp/lib/jna-4.1.0.jar:/enonic-xp/lib/launcher-impl-7.11.1.jar:/enonic-xp/lib/org.apache.felix.utils-1.11.8.jar:/enonic-xp/lib/launcher-api-7.11.1.jar:/enonic-xp/lib/commons-io-2.11.0.jar:/enonic-xp/lib/org.apache.felix.log.extension-1.0.0.jar:/enonic-xp/lib/logback-classic-1.2.11.jar:/enonic-xp/lib/jansi-1.18.jar:/enonic-xp/lib/jul-to-slf4j-1.7.36.jar:/enonic-xp/lib/org.apache.felix.logback-1.0.6.jar:/enonic-xp/lib/slf4j-api-1.7.36.jar:/enonic-xp/lib/org.apache.felix.log-1.2.6.jar:/enonic-xp/lib/org.apache.felix.framework-7.0.5.jar:/enonic-xp/lib/logback-core-1.2.11.jar)
        at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:776)
        at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:736)
        at com.sun.jna.Native.<clinit>(Native.java:131)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Class.java:315)
        at org.elasticsearch.bootstrap.Natives.<clinit>(Natives.java:45)
        at org.elasticsearch.bootstrap.BootstrapInfo.isMemoryLocked(BootstrapInfo.java:44)
        at org.elasticsearch.monitor.process.ProcessProbe.processInfo(ProcessProbe.java:130)
        at org.elasticsearch.monitor.process.ProcessService.<init>(ProcessService.java:44)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:50)
        at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)
        at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
        at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
        at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:886)
        at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
        at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
        at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
        at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
        at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
        at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
        at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
        at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
        at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
        at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
        at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
        at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
        at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:886)
        at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
        at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
        at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
        at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:201)
        at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:193)
        at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:879)
        at org.elasticsearch.common.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:193)
        at org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:175)
        at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:110)
        at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)
        at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
        at org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:46)
        at org.elasticsearch.node.Node.<init>(Node.java:213)
        at org.elasticsearch.node.Node.<init>(Node.java:140)
        at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
        at com.enonic.xp.elasticsearch.impl.ElasticsearchActivator.activate(ElasticsearchActivator.java:63)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:245)
        at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41)
        at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:687)
        at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:531)
        at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:317)
        at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:307)
        at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:354)
        at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:115)
        at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:1002)
        at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:975)
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:785)
        at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1274)
        at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1225)
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1232)
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1152)
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:959)
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:895)
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1184)
        at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:116)
        at org.apache.felix.framework.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:990)
        at org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:838)
        at org.apache.felix.framework.EventDispatcher.fireServiceEvent(EventDispatcher.java:545)
        at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4863)
        at org.apache.felix.framework.Felix.registerService(Felix.java:3834)
        at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:328)
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929)
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915)
        at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133)
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984)
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752)
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674)
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$1.run(AbstractComponentManager.java:461)
        at org.apache.felix.scr.impl.ComponentActorThread.run(ComponentActorThread.java:114)
        at java.base/java.lang.Thread.run(Thread.java:829)
2022-12-17 08:41:03,917 INFO  org.elasticsearch.node - [main-0] initialized
2022-12-17 08:41:03,917 INFO  org.elasticsearch.node - [main-0] starting ...
2022-12-17 08:41:03,920 INFO  org.elasticsearch.transport - [main-0] publish_address {local[1]}, bound_addresses {local[1]}
2022-12-17 08:41:03,921 INFO  org.elasticsearch.discovery - [main-0] my-deployment/swjJLg8NRzeJGamf8lzyRQ
2022-12-17 08:41:03,925 INFO  org.elasticsearch.cluster.service - [main-0] new_master {main-0}{swjJLg8NRzeJGamf8lzyRQ}{local}{local[1]}{local=true, master=true}, reason: local-disco-initial_connect(master)
2022-12-17 08:41:04,124 INFO  org.elasticsearch.http - [main-0] publish_address {10.1.0.70:9200}, bound_addresses {0.0.0.0:9200}
2022-12-17 08:41:04,124 INFO  org.elasticsearch.node - [main-0] started
2022-12-17 08:41:04,427 INFO  org.elasticsearch.gateway - [main-0] recovered [10] indices into cluster_state
2022-12-17 08:41:05,809 INFO  o.e.cluster.routing.allocation - [main-0] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[storage-system-repo][0], [storage-system-repo][0]] ...]).
2022-12-17 08:41:06,624 INFO  c.e.x.c.i.a.ApplicationRegistryImpl - Registering configured application com.enonic.xp.app.system bundle 91
2022-12-17 08:41:06,625 INFO  c.e.x.c.i.a.ApplicationRegistryImpl - Registering configured application com.enonic.xp.app.applications bundle 93
2022-12-17 08:41:06,633 INFO  c.e.x.c.i.a.ApplicationRegistryImpl - Registering configured application com.enonic.xp.app.main bundle 94
2022-12-17 08:41:06,633 INFO  c.e.x.c.i.a.ApplicationRegistryImpl - Registering configured application com.enonic.xp.app.standardidprovider bundle 95
2022-12-17 08:41:06,633 INFO  c.e.x.c.i.a.ApplicationRegistryImpl - Registering configured application com.enonic.xp.app.users bundle 96
2022-12-17 08:41:07,620 INFO  c.e.x.c.impl.ClusterManagerImpl - Adding cluster-provider: elasticsearch
2022-12-17 08:41:07,643 INFO  org.eclipse.jetty.util.log - Logging initialized @16316ms to org.eclipse.jetty.util.log.Slf4jLog
2022-12-17 08:41:07,915 INFO  org.eclipse.jetty.server.Server - jetty-9.4.48.v20220622; built: 2022-06-21T20:42:25.880Z; git: 6b67c5719d1f4371b33655ff2d047d24e171e49a; jvm 11.0.15+10-jvmci-22.1-b06
2022-12-17 08:41:07,926 INFO  org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=
2022-12-17 08:41:07,927 INFO  org.eclipse.jetty.server.session - No SessionScavenger set, using defaults
2022-12-17 08:41:07,927 INFO  org.eclipse.jetty.server.session -  Scavenging every 600000ms
2022-12-17 08:41:07,937 INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@6c7fb101{/,null,AVAILABLE,@xp}
2022-12-17 08:41:07,938 INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@d0b17de{/,null,AVAILABLE,@api}
2022-12-17 08:41:07,938 INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@c985e9c{/,null,AVAILABLE,@status}
2022-12-17 08:41:07,942 INFO  o.e.jetty.server.AbstractConnector - Started xp@3a990df5{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
2022-12-17 08:41:07,943 INFO  o.e.jetty.server.AbstractConnector - Started api@7583688a{HTTP/1.1, (http/1.1)}{0.0.0.0:4848}
2022-12-17 08:41:07,944 INFO  o.e.jetty.server.AbstractConnector - Started status@1bb64bca{HTTP/1.1, (http/1.1)}{0.0.0.0:2609}
2022-12-17 08:41:07,944 INFO  org.eclipse.jetty.server.Server - Started @16618ms
2022-12-17 08:41:08,023 INFO  c.e.x.c.i.app.ApplicationServiceImpl - Searching for installed applications
2022-12-17 08:41:08,031 INFO  c.e.x.c.i.app.ApplicationServiceImpl - Found [1] installed applications
2022-12-17 08:41:08,169 INFO  c.e.x.c.i.app.ApplicationServiceImpl - Installed application com.enonic.app.contentstudio bundle 97
2022-12-17 08:41:08,170 INFO  c.e.x.c.i.a.ApplicationRegistryImpl - Registering application com.enonic.app.contentstudio bundle 97
2022-12-17 08:41:08,171 INFO  c.e.x.c.i.app.ApplicationServiceImpl - Stored application [com.enonic.app.contentstudio] installed successfully
2022-12-17 08:41:08,207 INFO  c.e.x.c.i.a.ApplicationRegistryImpl - Configuring application com.enonic.app.contentstudio bundle 97
2022-12-17 08:41:08,221 INFO  c.e.x.c.i.a.ApplicationRegistryImpl - Started application com.enonic.app.contentstudio bundle 97
2022-12-17 08:41:08,221 INFO  c.e.x.c.i.app.ApplicationServiceImpl - Application [com.enonic.app.contentstudio] started successfully
2022-12-17 08:41:08,317 INFO  c.e.x.c.i.app.ApplicationServiceImpl - Installed application com.enonic.app.snapshotter bundle 98
2022-12-17 08:41:08,317 INFO  c.e.x.c.i.a.ApplicationRegistryImpl - Registering application com.enonic.app.snapshotter bundle 98
2022-12-17 08:41:08,317 INFO  c.e.x.c.i.app.ApplicationServiceImpl - Local application [com.enonic.app.snapshotter] installed successfully
2022-12-17 08:41:08,324 INFO  c.e.x.c.i.a.ApplicationRegistryImpl - Started application com.enonic.app.snapshotter bundle 98
2022-12-17 08:41:08,324 INFO  c.e.x.c.i.app.ApplicationServiceImpl - Application [com.enonic.app.snapshotter] started successfully
2022-12-17 08:41:08,411 INFO  c.e.xp.web.jetty.impl.JettyActivator - Started Jetty
2022-12-17 08:41:08,411 INFO  c.e.xp.web.jetty.impl.JettyActivator - Listening on ports [8080](xp), [4848](management) and [2609](monitoring)
2022-12-17 08:41:08,719 INFO  c.e.x.c.i.a.ApplicationRegistryImpl - Configuring application com.enonic.app.snapshotter bundle 98
2022-12-17 08:41:09,823 INFO  c.e.lib.cron.scheduler.JobScheduler - Added job: hourly @ 1 * * * * (every hour at minute 1)
2022-12-17 08:41:09,824 INFO  c.e.lib.cron.scheduler.JobScheduler - Added job: daily @ 0 1 * * * (at 01:00)
2022-12-17 08:41:09,832 INFO  c.e.lib.cron.scheduler.JobScheduler - Added job: weekly @ 0 4 * * 1 (at 04:00 at Monday day)
2022-12-17 08:41:09,838 INFO  c.e.lib.cron.scheduler.JobScheduler - Added job: cleanupCron @ 0 * * * * (every hour)
2022-12-17 08:41:54,634 INFO  o.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002225: Deploying javax.ws.rs.core.Application: class com.enonic.xp.jaxrs.impl.JaxRsServlet$JaxRsApplication
2022-12-17 08:41:54,635 INFO  o.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002220: Adding singleton resource com.enonic.xp.impl.server.rest.SchedulerResource from Application class com.enonic.xp.jaxrs.impl.JaxRsServlet$JaxRsApplication
2022-12-17 08:41:54,635 INFO  o.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002220: Adding singleton resource com.enonic.xp.impl.server.rest.RepositoryResource from Application class com.enonic.xp.jaxrs.impl.JaxRsServlet$JaxRsApplication
2022-12-17 08:41:54,635 INFO  o.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002220: Adding singleton resource com.enonic.xp.impl.server.rest.ContentResource from Application class com.enonic.xp.jaxrs.impl.JaxRsServlet$JaxRsApplication
2022-12-17 08:41:54,636 INFO  o.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002220: Adding singleton resource com.enonic.xp.impl.server.rest.AuditLogResource from Application class com.enonic.xp.jaxrs.impl.JaxRsServlet$JaxRsApplication
2022-12-17 08:41:54,636 INFO  o.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002220: Adding singleton resource com.enonic.xp.impl.server.rest.StatusResource from Application class com.enonic.xp.jaxrs.impl.JaxRsServlet$JaxRsApplication
2022-12-17 08:41:54,636 INFO  o.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002220: Adding singleton resource com.enonic.xp.impl.server.rest.ApplicationResource from Application class com.enonic.xp.jaxrs.impl.JaxRsServlet$JaxRsApplication
2022-12-17 08:41:54,636 INFO  o.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002220: Adding singleton resource com.enonic.xp.impl.server.rest.SnapshotResource from Application class com.enonic.xp.jaxrs.impl.JaxRsServlet$JaxRsApplication
2022-12-17 08:41:54,636 INFO  o.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002215: Adding singleton provider com.enonic.xp.jaxrs.impl.CommonFeature from Application class com.enonic.xp.jaxrs.impl.JaxRsServlet$JaxRsApplication
2022-12-17 08:41:54,636 INFO  o.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002220: Adding singleton resource com.enonic.xp.impl.server.rest.SseEntryPoint from Application class com.enonic.xp.jaxrs.impl.JaxRsServlet$JaxRsApplication
2022-12-17 08:41:54,636 INFO  o.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002220: Adding singleton resource com.enonic.xp.impl.server.rest.TaskResource from Application class com.enonic.xp.jaxrs.impl.JaxRsServlet$JaxRsApplication
2022-12-17 08:41:54,636 INFO  o.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002220: Adding singleton resource com.enonic.xp.impl.server.rest.IndexResource from Application class com.enonic.xp.jaxrs.impl.JaxRsServlet$JaxRsApplication
2022-12-17 08:41:54,636 INFO  o.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002220: Adding singleton resource com.enonic.xp.impl.server.rest.SystemResource from Application class com.enonic.xp.jaxrs.impl.JaxRsServlet$JaxRsApplication
2022-12-17 09:11:16,563 INFO  org.elasticsearch.snapshots - [main-0] snapshot [enonic-xp-snapshot-repo:hourly_2022-12-17t09_11_16.281537z] is done
2022-12-17 09:52:02,050 INFO  c.e.x.s.i.config.ConfigInstallerImpl - Loaded config for [com.enonic.xp.web.vhost]
2022-12-17 09:52:02,122 INFO  c.e.x.w.v.i.c.VirtualHostServiceImpl - Virtual host is enabled and mappings updated.
2022-12-17 10:01:10,913 INFO  org.elasticsearch.snapshots - [main-0] snapshot [enonic-xp-snapshot-repo:hourly_2022-12-17t10_01_10.760124z] is done

Found the solution myself by viewing the log of the ‘ingress-service’

W1217 09:50:58.412930       7 controller.go:258] ignoring ingress my-domain-com in my-namespace based on annotation : ingress does not contain a valid IngressClass

So I had to add the following line to the ingress-ressource definition of simple.yaml:

spec:
  ingressClassName: nginx

But now I have annother problem:
What are the default credentials for XP.
I get to the Login-Page without the option to create a user - seems that the user is already in place :frowning:

Did you try su/password? You can also configure it: Configuration files.

I read over that I can fetch the generated su-password with:

kubectl -n my-namespace get secret su -o go-template="{{ .data.pass | base64decode }}"

But I determined, that the password is regenerated, when the pod is redeployed.

@ase You pointed me to the config-documentation. Can you explain, how I get a customized system.properties in the exp-container or more concrete to the NFS-share. As I wrote, I currently use K8 cluster in Docker-Desktop on Mac. So the Node is a VM on my Mac.

On the other hand I was not able to deploy my xp-app on the instance on K8. I tried to upload the jar-File via Applications. I got an error, just saying that the application could not be installed. I did not find an entry in the log with more information and was able to install applications from marketplace.

Additionally the pod crashes !!!

Any hints how I can debug this error ?

Upon further investigation it turned out that config file cannot be used for setting su credentials inside the operator. So the command that you found yourself is the right way to do it.

If the prod crashes, then it’s a different story and should be looked at separately. Basically, we need to look at your issues one by one, instead of taking all of them at once.

So, what is the current status of your implementation?

Check- lets solve one by one !

  1. set su-password
  • I was not able to reproduce, that the password changes after pod-recreation.
  • I tried to change the su-password manually in Users-App - but that did not work
  • After changing the password manually- I deleted the pod! Result: still the password I fetched with kubectl before.

So my first issue is:
How can I set my own su - password ?

Hi!
You can specify operator.deployment.fixedSuPass property in the config of the xp-operator chart.

@vbr
Thanks for your response!

Do i have to set pass as plain text or encrypted (like in secrets) ?

and

Is there a documentation of also possible settings ?

It’s only plain text for now(the current version of the operator is 0.18, so it’s still in development). And there are still no docs for the params, but you can check the full list with default values here:

@vbr Thx - that helps

1 Like