incubator-openwhisk-deploy-openshift.git
4 months agoMerge pull request #1 from bwmcadams/master master
Brendan McAdams [Thu, 12 Jul 2018 18:16:53 +0000 (11:16 -0700)] 
Merge pull request #1 from bwmcadams/master

Migration of Red Hat's existing work to the new ASF Incubator Repo

4 months agoMerge Red Hat's original repository over to ASF Incubator repo. 1/head
Brendan McAdams [Thu, 12 Jul 2018 18:02:58 +0000 (11:02 -0700)] 
Merge Red Hat's original repository over to ASF Incubator repo.

5 months agoAdjust LICENSE to remove copied references.
Matt Rutkowski [Tue, 10 Jul 2018 19:36:35 +0000 (14:36 -0500)] 
Adjust LICENSE to remove copied references.

5 months agoIniatialize repo. with Apache OpenWhisk standard files.
Matt Rutkowski [Tue, 10 Jul 2018 18:54:40 +0000 (13:54 -0500)] 
Iniatialize repo. with Apache OpenWhisk standard files.

5 months agoIniatialize repo. with Apache OpenWhisk standard files.
Matt Rutkowski [Tue, 10 Jul 2018 18:51:27 +0000 (13:51 -0500)] 
Iniatialize repo. with Apache OpenWhisk standard files.

5 months agoReformat a bit and fix #27
Jim Crossley [Fri, 6 Jul 2018 15:22:35 +0000 (11:22 -0400)] 
Reformat a bit and fix #27

Things seem to work ok without enabling promisc mode, at least for
minishift v1.16.0+8abe845, and likely later.

5 months agoMerge pull request #37 from markito/master
Jim Crossley [Fri, 6 Jul 2018 15:02:32 +0000 (11:02 -0400)] 
Merge pull request #37 from markito/master

Closing issue #26 - Adding intro to OpenWhisk

5 months agoFix typo on quote
William Markito [Fri, 6 Jul 2018 03:28:08 +0000 (22:28 -0500)] 
Fix typo on quote

5 months agoAdding brief description about OpenWhisk
William Markito [Fri, 6 Jul 2018 03:27:23 +0000 (22:27 -0500)] 
Adding brief description about OpenWhisk

Close #26

5 months agoRevert ImageStreams [OCF-139]
Jim Crossley [Thu, 5 Jul 2018 21:49:07 +0000 (17:49 -0400)] 
Revert ImageStreams [OCF-139]

5 months agoMerge pull request #34 from pmorie/readme
Ben Browning [Wed, 13 Jun 2018 05:47:46 +0000 (01:47 -0400)] 
Merge pull request #34 from pmorie/readme

Add link to OpenWhisk gh project

5 months agoDon't error on unbound variables in publish.sh
Ben Browning [Wed, 13 Jun 2018 05:43:31 +0000 (01:43 -0400)] 
Don't error on unbound variables in publish.sh

5 months agoAdd link to OpenWhisk gh project
Paul Morie [Tue, 12 Jun 2018 22:18:34 +0000 (18:18 -0400)] 
Add link to OpenWhisk gh project

6 months agoTemporarily pin js dep for CouchDB until we work out a proper fix
Ben Browning [Tue, 15 May 2018 20:09:40 +0000 (16:09 -0400)] 
Temporarily pin js dep for CouchDB until we work out a proper fix

CentOS 7 bumped its `js` version from 1.8.5-19 to 1.8.5-20 and
apparently broke CouchDB's JavaScript view generation in the
process. https://github.com/apache/couchdb/issues/1293 tracks that
issue.

So, for now, we pin to 1.8.5-19. It's not available to install
directly from the repos so we point to a download location on
vault.centos.org.

6 months agoStrange errors after travis no longer apt-updates, by default
Jim Crossley [Tue, 15 May 2018 14:43:22 +0000 (10:43 -0400)] 
Strange errors after travis no longer apt-updates, by default

6 months agoTighten up a bit
Jim Crossley [Tue, 15 May 2018 13:51:44 +0000 (09:51 -0400)] 
Tighten up a bit

6 months agoMerge pull request #31 from matzew/Latest_Strimzi
Jim Crossley [Tue, 15 May 2018 12:38:22 +0000 (08:38 -0400)] 
Merge pull request #31 from matzew/Latest_Strimzi

Latest of Strimzi

7 months agoLatest of Strimzi
Matthias Wessendorf [Sat, 12 May 2018 03:56:07 +0000 (05:56 +0200)] 
Latest of Strimzi

7 months agoBump to newer controller/invoker images
Ben Browning [Mon, 7 May 2018 21:15:04 +0000 (17:15 -0400)] 
Bump to newer controller/invoker images

7 months agoDon't be so quick to mark CouchDB as unhealthy under heavy load
Ben Browning [Mon, 7 May 2018 21:14:31 +0000 (17:14 -0400)] 
Don't be so quick to mark CouchDB as unhealthy under heavy load

7 months agoMore happy messages in check_openwhisk.sh
Ben Browning [Fri, 4 May 2018 23:50:00 +0000 (19:50 -0400)] 
More happy messages in check_openwhisk.sh

7 months agoSlightly less larger
Jim Crossley [Fri, 27 Apr 2018 16:13:22 +0000 (12:13 -0400)] 
Slightly less larger

7 months agoFix couchdbHealthCheck
Jim Crossley [Fri, 27 Apr 2018 16:10:42 +0000 (12:10 -0400)] 
Fix couchdbHealthCheck

7 months agoExpose knobs for tuning the Kafka replication & retained bytes
Ben Browning [Thu, 26 Apr 2018 21:16:21 +0000 (17:16 -0400)] 
Expose knobs for tuning the Kafka replication & retained bytes

7 months agoDoh!
Jim Crossley [Thu, 26 Apr 2018 18:00:04 +0000 (14:00 -0400)] 
Doh!

7 months agoRefer to our latest wsk release
Jim Crossley [Thu, 26 Apr 2018 17:58:44 +0000 (13:58 -0400)] 
Refer to our latest wsk release

7 months agoRun a simple OpenWhisk action as well
Ben Browning [Thu, 26 Apr 2018 12:25:20 +0000 (08:25 -0400)] 
Run a simple OpenWhisk action as well

7 months agoFactored the waiting out of the building
Jim Crossley [Wed, 25 Apr 2018 21:27:49 +0000 (17:27 -0400)] 
Factored the waiting out of the building

Tweaked ./bin/wait_for_openwhisk.sh (now called by
tools/travis/build.sh) so that it can work with either our small
minishift deployments or our large production aws/azr/gce deployments.

7 months agoAvoid noise when no PV
Jim Crossley [Wed, 25 Apr 2018 20:31:10 +0000 (16:31 -0400)] 
Avoid noise when no PV

7 months agoPick up the latest java action runtime w/CDS enabled
Jim Crossley [Wed, 25 Apr 2018 18:08:52 +0000 (14:08 -0400)] 
Pick up the latest java action runtime w/CDS enabled

7 months agoStandard on 65% disk usage as "getting too full" for now
Ben Browning [Wed, 25 Apr 2018 19:29:59 +0000 (15:29 -0400)] 
Standard on 65% disk usage as "getting too full" for now

7 months agoAdd handy check_openwhisk.sh script
Ben Browning [Wed, 25 Apr 2018 19:24:11 +0000 (15:24 -0400)] 
Add handy check_openwhisk.sh script

7 months agoMerge branch 'gorkem-enable_cds'
Jim Crossley [Wed, 25 Apr 2018 17:25:04 +0000 (13:25 -0400)] 
Merge branch 'gorkem-enable_cds'

7 months agoMerge branch 'enable_cds' of https://github.com/gorkem/openwhisk-openshift into gorke...
Jim Crossley [Tue, 24 Apr 2018 23:30:38 +0000 (19:30 -0400)] 
Merge branch 'enable_cds' of https://github.com/gorkem/openwhisk-openshift into gorkem-enable_cds

7 months agoenable cds for java action
Gorkem Ercan [Tue, 24 Apr 2018 20:18:52 +0000 (16:18 -0400)] 
enable cds for java action

Enables class data sharing for JRE classes.

7 months agoRefer to latest docker images
Jim Crossley [Tue, 24 Apr 2018 20:17:00 +0000 (16:17 -0400)] 
Refer to latest docker images

Includes updates to couch, catalog, and alarms

7 months agoCompact actions and activations more often
Ben Browning [Tue, 24 Apr 2018 19:15:56 +0000 (15:15 -0400)] 
Compact actions and activations more often

This change lowers the default CouchDB database and view compaction
thresholds as well as modifies the prune-activations CronJob to set a
lower revision limit for those databases which results in greater file
size savings.

7 months agoPersistent Kafka may need even longer to come up sometimes
Ben Browning [Tue, 24 Apr 2018 13:18:35 +0000 (09:18 -0400)] 
Persistent Kafka may need even longer to come up sometimes

7 months agoReferring to a specific 'wsk' binary [OCF-67]
Jim Crossley [Mon, 23 Apr 2018 21:00:30 +0000 (17:00 -0400)] 
Referring to a specific 'wsk' binary [OCF-67]

Also now using a local tag for busybox and a proper ImageStream for
nginx.

Using wsk binary as of sha:e9c213d9192aedc085eb92f886c850bf63f55705
from https://github.com/apache/incubator-openwhisk-cli/

7 months agoAdd a note about the 3.9 OS bug regarding ImagePolicy
Jim Crossley [Fri, 20 Apr 2018 15:56:29 +0000 (11:56 -0400)] 
Add a note about the 3.9 OS bug regarding ImagePolicy

7 months agoController needs action memory limits set as well
Ben Browning [Fri, 20 Apr 2018 15:04:38 +0000 (11:04 -0400)] 
Controller needs action memory limits set as well

7 months agoAllow template params to configure lots more things.
Ben Browning [Fri, 20 Apr 2018 14:22:30 +0000 (10:22 -0400)] 
Allow template params to configure lots more things.

Blackbox invoker fraction, action memory min/max/std, number of pods
we start concurrently per invoker, and the invoker logstore provider
are now configurable via the templates.

Configuring the number of pods that start concurrently required
bumping the controller & invoker image tags to a newer version.

7 months agoUsing unique tags to fix Local referencePolicy.type [OCF-59]
Jim Crossley [Thu, 19 Apr 2018 13:10:56 +0000 (09:10 -0400)] 
Using unique tags to fix Local referencePolicy.type [OCF-59]

This should cause action runtime images to be properly fetched from
the OS internal registry rather than DockerHub.

7 months agoQuotes help - oops
Ben Browning [Tue, 17 Apr 2018 18:54:13 +0000 (14:54 -0400)] 
Quotes help - oops

7 months agoShow example CONTROLLER_INVOKER_BUSYTHRESHOLD in larger.env
Ben Browning [Tue, 17 Apr 2018 18:22:51 +0000 (14:22 -0400)] 
Show example CONTROLLER_INVOKER_BUSYTHRESHOLD in larger.env

7 months agoMake the activationStats greps a bit more robust
Ben Browning [Tue, 17 Apr 2018 18:22:16 +0000 (14:22 -0400)] 
Make the activationStats greps a bit more robust

7 months agoDon't assume controller invoker busythreshold == invoker max containers
Ben Browning [Tue, 17 Apr 2018 18:22:03 +0000 (14:22 -0400)] 
Don't assume controller invoker busythreshold == invoker max containers

7 months agoKafka and Zookeeper may need more time to come up in prod scenarios
Ben Browning [Tue, 17 Apr 2018 00:11:40 +0000 (20:11 -0400)] 
Kafka and Zookeeper may need more time to come up in prod scenarios

7 months agoPick up centos-based controller invoker [OCF-39]
Jim Crossley [Fri, 13 Apr 2018 12:56:48 +0000 (08:56 -0400)] 
Pick up centos-based controller invoker [OCF-39]

This completes all of the porting of upstream images to RHT-supported
ones

7 months agoBump to latest controller/invoker images w/ attachment caching
Ben Browning [Fri, 13 Apr 2018 03:31:40 +0000 (23:31 -0400)] 
Bump to latest controller/invoker images w/ attachment caching

7 months agoParameterize Invoker and CouchDB CPU requests
Ben Browning [Fri, 13 Apr 2018 03:30:45 +0000 (23:30 -0400)] 
Parameterize Invoker and CouchDB CPU requests

Also fix a missed update to the akka seed nodes in template.yml

7 months agoDocument local dev better after introducing ImageStreams
Jim Crossley [Fri, 13 Apr 2018 02:14:29 +0000 (22:14 -0400)] 
Document local dev better after introducing ImageStreams

7 months agoAdd activationStats.sh script for basic load stats
Ben Browning [Thu, 12 Apr 2018 16:19:46 +0000 (12:19 -0400)] 
Add activationStats.sh script for basic load stats

7 months agoReplicate strimzi changes in ephemeral template
Jim Crossley [Thu, 12 Apr 2018 14:00:46 +0000 (10:00 -0400)] 
Replicate strimzi changes in ephemeral template

7 months agoLet Strimzi reference its images the old way
Ben Browning [Thu, 12 Apr 2018 12:16:31 +0000 (08:16 -0400)] 
Let Strimzi reference its images the old way

Strimzi only pulls kafka/zookeeper once for a limited number of
nodes (3, since we deploy 3 nodes of each) and only on initial cluster
setup or potentially when rebooting the Kafka or Zookeeper pods. But,
we don't ever reboot these under normal operations so let's just let
those come from DockerHub for now.

This should get Travis green again and the Strimzi cluster-controller
looks like it's overriding the image to the DockerHub version anyway.

7 months agoSet the necessary properties for Akka clustering to work in the controller
Ben Browning [Thu, 12 Apr 2018 12:05:10 +0000 (08:05 -0400)] 
Set the necessary properties for Akka clustering to work in the controller

ShardingContainerPoolBalancer expects the controllers to be clustered
via Akka and we weren't doing that. Oops.

8 months agoLingering terminating pods again
Jim Crossley [Wed, 11 Apr 2018 17:38:19 +0000 (13:38 -0400)] 
Lingering terminating pods again

We're refactor these scripts at some point

8 months agoAccount for strimzi controller bouncing zk/kafka
Jim Crossley [Wed, 11 Apr 2018 16:59:52 +0000 (12:59 -0400)] 
Account for strimzi controller bouncing zk/kafka

8 months agoFirst whack at using ImageStreams for our containers [OCF-59]
Jim Crossley [Wed, 11 Apr 2018 13:57:38 +0000 (09:57 -0400)] 
First whack at using ImageStreams for our containers [OCF-59]

Still need to address nginx and verify these specs

8 months agoPinning to strimzi 0.2.0 [OCF-68]
Jim Crossley [Mon, 9 Apr 2018 16:00:47 +0000 (12:00 -0400)] 
Pinning to strimzi 0.2.0 [OCF-68]

Introduced STRIMZI_VERSION parameter to both templates

8 months agoBump templates to our newest container images
Ben Browning [Sat, 7 Apr 2018 12:47:08 +0000 (08:47 -0400)] 
Bump templates to our newest container images

8 months agoTravis wasn't testing the images it actually built
Ben Browning [Sat, 7 Apr 2018 12:01:52 +0000 (08:01 -0400)] 
Travis wasn't testing the images it actually built

We have to actually push images to DockerHub for Travis to be able to
share them between build stages. The `openshift-latest` tag from that
2nd build stage was coming from some unknown source depending on
whether the DockerHub automated build for that same commit finished
before or after the Travis 2nd stage started running.

8 months agoSome OpenShifts need `vm.args` to be chowned differently
Ben Browning [Sat, 7 Apr 2018 05:00:25 +0000 (01:00 -0400)] 
Some OpenShifts need `vm.args` to be chowned differently

`oc cluster up` on Travis is one of those. Go figure.

8 months agoTypo'd path means new CouchDB image wasn't logging to stdout
Ben Browning [Sat, 7 Apr 2018 03:46:31 +0000 (23:46 -0400)] 
Typo'd path means new CouchDB image wasn't logging to stdout

8 months agoSwitch to the CentOS-based CouchDB images
Ben Browning [Sat, 7 Apr 2018 03:33:49 +0000 (23:33 -0400)] 
Switch to the CentOS-based CouchDB images

8 months agoCopy our customized vm.args after installing CouchDB
Ben Browning [Sat, 7 Apr 2018 02:30:27 +0000 (22:30 -0400)] 
Copy our customized vm.args after installing CouchDB

I guess I should have tested that last-minute re-arranging of the
Dockerfile after all - oops.

8 months agoRestore setting of Erlang node & cookie for CouchDB
Ben Browning [Sat, 7 Apr 2018 01:21:08 +0000 (21:21 -0400)] 
Restore setting of Erlang node & cookie for CouchDB

When we switched to the CentOS-based images this got wiped out
because the new vm.args pulled in from RPM-based CouchDB already
had these set to invalid values for actual clustering.

8 months agoUpdate $PO_VER to pickup java runtime fix
Jim Crossley [Fri, 6 Apr 2018 22:25:00 +0000 (18:25 -0400)] 
Update $PO_VER to pickup java runtime fix

All runtimes using the latest centos images now. We special-cased
couchdb until it gets some love.

8 months agoMerge pull request #24 from projectodd/OCF-89
Brendan McAdams [Fri, 6 Apr 2018 16:17:12 +0000 (09:17 -0700)] 
Merge pull request #24 from projectodd/OCF-89

OCF-89: Set the JVM in the java 8 action runtime to obey cgroup memory limits

8 months agoOCF-89: Set the JVM in the java 8 action runtime to obey cgroup memory limits
Brendan McAdams [Fri, 6 Apr 2018 16:03:29 +0000 (09:03 -0700)] 
OCF-89: Set the JVM in the java 8 action runtime to obey cgroup memory limits
Options per Oracle's documented flags (https://blogs.oracle.com/java-platform-group/java-se-support-for-docker-cpu-and-memory-limits)

8 months agoForgot Travis sets some memory limit template params
Ben Browning [Fri, 6 Apr 2018 13:48:51 +0000 (09:48 -0400)] 
Forgot Travis sets some memory limit template params

It needs to also set requests to be <= those limits

8 months agoAdd memory request template params for each memory limit
Ben Browning [Fri, 6 Apr 2018 13:28:35 +0000 (09:28 -0400)] 
Add memory request template params for each memory limit

8 months agoPicking up labeling changes OCF-90, OCF-92
Jim Crossley [Mon, 2 Apr 2018 16:47:16 +0000 (12:47 -0400)] 
Picking up labeling changes OCF-90, OCF-92

Also reverting back to pre-marek docker images until we figure out
nginx and couchdb issues.

And moved nginx error_log to /logs

8 months agoAdd a template parameter for the invoker pauseGrace timeout
Ben Browning [Fri, 30 Mar 2018 03:55:31 +0000 (23:55 -0400)] 
Add a template parameter for the invoker pauseGrace timeout

8 months agoReferring to Marek's RHT-approved images now [OCF-39]
Jim Crossley [Thu, 29 Mar 2018 16:48:23 +0000 (12:48 -0400)] 
Referring to Marek's RHT-approved images now [OCF-39]

Only invoker/controller remain

8 months agoUse proper name resolver, fixes #6, thanks shgriffi
Jim Crossley [Wed, 28 Mar 2018 14:44:49 +0000 (10:44 -0400)] 
Use proper name resolver, fixes #6, thanks shgriffi

8 months agoOops!
Jim Crossley [Mon, 26 Mar 2018 21:28:50 +0000 (17:28 -0400)] 
Oops!

8 months agoHave travis push a sha-tagged build to d-hub upon success
Jim Crossley [Mon, 26 Mar 2018 21:19:06 +0000 (17:19 -0400)] 
Have travis push a sha-tagged build to d-hub upon success

8 months agoRoll back to OS 3.6 and be more aggressive w/pod termination
Jim Crossley [Mon, 26 Mar 2018 16:30:04 +0000 (12:30 -0400)] 
Roll back to OS 3.6 and be more aggressive w/pod termination

For some reason, terminated pods don't go away on their own due to a
FailedSync error that bug reports say is fixed by either updating to a
more recent version of k8s or restarting the associated docker daemon.

Instead, we're going to forcibly delete any Terminating ones after
each action invocation.

8 months agoBump to OS 3.7.2 to hopefully avoid FailedSync errors
Jim Crossley [Mon, 26 Mar 2018 15:52:31 +0000 (11:52 -0400)] 
Bump to OS 3.7.2 to hopefully avoid FailedSync errors

8 months agoHold off on deploying for now
Jim Crossley [Mon, 26 Mar 2018 15:08:17 +0000 (11:08 -0400)] 
Hold off on deploying for now

8 months agoMerge branch 'goldmann-catalog'
Jim Crossley [Mon, 26 Mar 2018 15:06:28 +0000 (11:06 -0400)] 
Merge branch 'goldmann-catalog'

8 months agoMerge branch 'catalog' of https://github.com/goldmann/openwhisk-openshift into goldma...
Jim Crossley [Mon, 26 Mar 2018 14:54:58 +0000 (10:54 -0400)] 
Merge branch 'catalog' of https://github.com/goldmann/openwhisk-openshift into goldmann-catalog

8 months agoMerge branch 'goldmann-couchdb'
Jim Crossley [Mon, 26 Mar 2018 14:51:36 +0000 (10:51 -0400)] 
Merge branch 'goldmann-couchdb'

8 months agoMerge branch 'couchdb' of https://github.com/goldmann/openwhisk-openshift into goldma...
Jim Crossley [Mon, 26 Mar 2018 14:40:46 +0000 (10:40 -0400)] 
Merge branch 'couchdb' of https://github.com/goldmann/openwhisk-openshift into goldmann-couchdb

8 months agoRe-introduce stages to test HEAD images
Jim Crossley [Mon, 26 Mar 2018 14:39:04 +0000 (10:39 -0400)] 
Re-introduce stages to test HEAD images

8 months agoMerge branch 'goldmann-skeleton'
Jim Crossley [Mon, 26 Mar 2018 14:36:08 +0000 (10:36 -0400)] 
Merge branch 'goldmann-skeleton'

8 months ago[OCF-75] dockerskeleton: Switch to CentOS 7
Marek Goldmann [Mon, 26 Mar 2018 09:55:36 +0000 (11:55 +0200)] 
[OCF-75] dockerskeleton: Switch to CentOS 7

https://issues.jboss.org/browse/OCF-75

8 months agoForcibly delete Terminating pods
Jim Crossley [Fri, 23 Mar 2018 22:53:11 +0000 (18:53 -0400)] 
Forcibly delete Terminating pods

I believe this is a known issue with somewhat older k8s
versions (<1.9) that deleted pods never go away due to a FailedSync.
Some reports say this must be solved via docker, but let's try a
forced delete first.

8 months agoGive the terminating pods more time to terminate
Jim Crossley [Fri, 23 Mar 2018 21:28:57 +0000 (17:28 -0400)] 
Give the terminating pods more time to terminate

8 months agoMaybe we're just not waiting long enough
Jim Crossley [Fri, 23 Mar 2018 18:52:53 +0000 (14:52 -0400)] 
Maybe we're just not waiting long enough

8 months ago2x max containers
Jim Crossley [Fri, 23 Mar 2018 18:23:53 +0000 (14:23 -0400)] 
2x max containers

8 months agoForgot this
Jim Crossley [Fri, 23 Mar 2018 13:42:38 +0000 (09:42 -0400)] 
Forgot this

8 months agoLet's try giving up!
Jim Crossley [Fri, 23 Mar 2018 13:07:56 +0000 (09:07 -0400)] 
Let's try giving up!

8 months ago[OCF-72] catalog: Switch to CentOS 7
Marek Goldmann [Thu, 22 Mar 2018 15:38:44 +0000 (16:38 +0100)] 
[OCF-72] catalog: Switch to CentOS 7

https://issues.jboss.org/browse/OCF-72

8 months agoLast shot, make it a good one
Jim Crossley [Thu, 22 Mar 2018 22:24:51 +0000 (18:24 -0400)] 
Last shot, make it a good one

8 months agoWhy not?
Jim Crossley [Thu, 22 Mar 2018 21:35:11 +0000 (17:35 -0400)] 
Why not?

8 months agoAvoid exceeding our WHISK_ACTIONS_INVOKES_CONCURRENT limit
Jim Crossley [Thu, 22 Mar 2018 19:02:14 +0000 (15:02 -0400)] 
Avoid exceeding our WHISK_ACTIONS_INVOKES_CONCURRENT limit

Currently 30 is the max

8 months agoWho knows?
Jim Crossley [Thu, 22 Mar 2018 17:53:13 +0000 (13:53 -0400)] 
Who knows?

8 months agoOnce more, with feeling!
Jim Crossley [Thu, 22 Mar 2018 17:49:14 +0000 (13:49 -0400)] 
Once more, with feeling!