Last active
March 29, 2018 06:33
-
-
Save robzienert/f220b7cf093dc20a2c3b052ae0bd6a9e to your computer and use it in GitHub Desktop.
Revisions
-
robzienert renamed this gist
Mar 29, 2018 . 1 changed file with 1 addition and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,10 @@ kind: NetworkInterface spec: name: "helloworld" securityGroups: [] # ... Stuff # Displays allowed use of SpEL; in this case NetworkInterface allows an iterable spec interface. # `${ loop.count }` and other loop vars are made available automatically by `IterableSpec` # `NetworkInterfacePoolSpec : NetworkInterfaceSpec, IterableSpec<NetworkInterfaceSpec>`. The @@ -26,4 +24,3 @@ spec: # way, way, way down the line (2019?), could do something like... # standard notify message any time the cluster state changes (attach, detach, etc) onChange: "sns:arn" -
robzienert created this gist
Mar 29, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ ``` kind: NetworkInterface spec: name: "helloworld" securityGroups: [] # ... Stuff ``` ``` # Displays allowed use of SpEL; in this case NetworkInterface allows an iterable spec interface. # `${ loop.count }` and other loop vars are made available automatically by `IterableSpec` # `NetworkInterfacePoolSpec : NetworkInterfaceSpec, IterableSpec<NetworkInterfaceSpec>`. The # interface then knows what the schema is for processing `NetworkInterfacePoolSpec`. kind: NetworkInterfacePool spec: kind: ClusterBound # Simple: Just creates the pool with the defined configuration # ClusterBound: Will automatically attempt to bind the network interfaces to servers in the # defined cluster. Will bind using `apply` strategy. count: 20 name: "helloworld-${ loop.count }" # more fields defined by NetworkInterfaceSpec cluster: name: "myapp-helloworld" apply: newest # any|newest # way, way, way down the line (2019?), could do something like... # standard notify message any time the cluster state changes (attach, detach, etc) onChange: "sns:arn" ```